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

Input: Consider Input: [7937, 'O', 't', 'q', 'A', '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'P', 9541, 'K', 'P', 'I', 'd', 2929, 3037, 's', 'o'], [5771, 'e', 6539, 3301, 7501, 1959, 2737, 'W', 347, 'S', 'A', 7789, 1561, 'G', 's', 1703, '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'C', 4525, 2207, 8867, 'D', 'c', 9997, 'f', 'E', 'd', 2503, 527, 's', 'Q', 'Y', 'R', 4405, 'a']

Output: 5875, 3561, 2131, L, 9023, A, 4107, Y, h, A, 8649, 6349, S, 1841, X, Y, 8859, 2327, x, 6845


Input: Consider Input: [4301, 2885, 'X', 8841, 3911, 'l', 4267, 'M', 3861, 8005, 'm', '4475', 'b', '9275', 'w', '1043', '2027', '1', 'M', 'y', 'W', '3565', '8755', '6253', '5453', 'W', 'Z', 'f', 7767, 5683, 'l', 8029, 'C', 5169, 'F', 'b', 5421, 's', 'q', 203, 4903, 9957, 9367], [4131, 'w', 3479, 'z', 'm', 9829, '4475', 'b', '9275', 'w', '1043', '2027', '1', 'M', 'y', 'W', '3565', '8755', '6253', '5453', 'W', 'Z', 'v', 1275, 3867, 6831, 6147, 'K']

Output: 4475, b, 9275, w, 1043, 2027, 1, M, y, W, 3565, 8755, 6253, 5453, W, Z


Input: Consider Input: [1425, 525, 'u', 'b', 'I', 1941, 'O', 3203, 4785, 989, 7327, 'i', 's', '4019', 'F', 'M', 'S', 'Y', 's', 'E', 'D', 'm', 'E', 'j', 'N', '8227', 'C', 'X', '6303', '8691', '4223', 'R', 5957, 3445, 7895, 9543, 1421, 5631, 'k', 5789, 249, 'c', 3631, 'C'], ['m', 'q', 'i', 's', '4019', 'F', 'M', 'S', 'Y', 's', 'E', 'D', 'm', 'E', 'j', 'N', '8227', 'C', 'X', '6303', '8691', '4223', 'b', 7931, 9975, 4671, 'g', 'l', 'C', 3587, 777, 'w', 4115, 'o']


Output: i, s, 4019, F, M, S, Y, s, E, D, m, E, j, N, 8227, C, X, 6303, 8691, 4223