In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Input: Consider Input: ['R', 't', 'y', '2887', 'x', 4883], [5691, 9457, 'y', '2887', 'u', 'Y']

Output: y, 2887


Input: Consider Input: [6551, 'm', 4517, 'K', 9519, 'N', 6797, 'A', 'a', 5043, 2961, 1305, 'J', 'M', 'g', 5639, 6235, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'P', 'd', 9867, 6599, 'W', 'N', 4217, 'c', 5009], ['t', 9641, 7799, '9717', '6917', '7949', 'e', '2855', 'V', '4493', 'G', '375', 'e', '9909', 'J', 't', 'N', '4535', '9963', '8917', 'W', 'U', 'f', 8123, 'U', 3339, 4751]

Output: 9717, 6917, 7949, e, 2855, V, 4493, G, 375, e, 9909, J, t, N, 4535, 9963, 8917, W


Input: Consider Input: ['L', 'B', 5101, 1943, 'N', '8943', 'q', '2657', 'k', 'u', 1925, 'S', 1213, 5847], [4275, 3981, 'n', 'w', 1357, 'N', '8943', 'q', '2657', 'k', 'K', 7357]


Output: N, 8943, q, 2657, k