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

Input: Consider Input: [7155, 'R', 5819, 'a', 'C', 4603, 1003, 'W', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'c', 2763, 'W', 'n', 7521, 4855, 9907, 'o', 'C', 1185, 'g'], [9921, 55, 5361, 'k', 'N', 'Z', 'q', 'A', 'w', 'r', 'N', '6611', 'r', '8975', 'b', 'T', 'h', 8665, 'O', 633]

Output: N, Z, q, A, w, r, N, 6611, r, 8975, b, T


Input: Consider Input: ['x', 495, 'L', 'O', 2935, 'y', 163, 3507, 6515, '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'w', 1985, 'F', 'V', 5375, 6359, 7963, 4103, 2625, 'p', 'N', 7945, 'L', 6909], [251, 'J', 'k', 4075, 'd', 'x', 'j', 'K', 'u', 605, 1667, 8527, 6845, 2537, 'O', 9259, 'o', 'B', '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'j', 'S', 'H', 1289]

Output: 5249, 9751, 8269, 923, 10005, 9739, u, X, y, 4535, I, V, f, 8511, 8955, s, 2255, 1, 7831, t


Input: Consider Input: [3533, 'O', '7303', 'Z', '5855', 'j', 'o', 'w', 4187, 'G', 'V'], [6521, 'Q', 'D', 9937, '7303', 'Z', '5855', 'j', 'o', 'C', 'Q']


Output: 7303, Z, 5855, j, o