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

Example Input: ['C', 'a', 5955, 5411, 'a', 'x', '9177', '1943', 'P', '7863', '6755', 'o', '5373', '2989', 'g', 'A', 'a', 'J', 'B', '8111', 'u', 'x', '4477', 'N', 'f', '4307', 'e', '3095', 'e', 'R', 'A', 'R', 5893, 't', 5495, 2381, 2823, 't', 'c', 'k', 9259, 4655, 8337, 8027, 'D', 7767, 'F'], ['V', 'w', 'x', 'p', 'N', 4045, 'h', 'h', 2607, 6243, 'F', 8575, 7799, 5463, 'N', 'j', 5469, 'x', '9177', '1943', 'P', '7863', '6755', 'o', '5373', '2989', 'g', 'A', 'a', 'J', 'B', '8111', 'u', 'x', '4477', 'N', 'f', '4307', 'e', '3095', 's', 9037, 'F', 'a', 'S', 9619, 8457, 'o', 8497, 675, 'B', 't', 'Y', 'x', 'x', 'K', 9773]
Example Output: x, 9177, 1943, P, 7863, 6755, o, 5373, 2989, g, A, a, J, B, 8111, u, x, 4477, N, f, 4307, e, 3095

Example Input: ['q', 'o', 4457, 'n', 5225, 3633, 8939, 8239, 8309, 8551, 'g', 'i', 231, 9961, 7455, 3895, 7053, 'z', 9989, 'j', 'M', 'X', 'H', 'o', '8723', 'c', 'v', '3103', 'a', 'F', 'v', '2307', 'w', 'Q', 'J', '695', 'e', 'y', '4567', '9385', 'h', 'c', '5405', '7473', '7479', '4335', '1059', 'e', 'N', 8357, 'f', 8957, 8107, 'H', 'a', 6831, 'E', 'K', 5359, 'U'], [8035, 'a', 'y', 'o', 6869, 4247, 817, 8471, 9273, 'c', 7983, 'v', 1305, 'n', 6951, 4505, 83, 3005, 5965, 'p', 'H', 'o', '8723', 'c', 'v', '3103', 'a', 'F', 'v', '2307', 'w', 'Q', 'J', '695', 'e', 'y', '4567', '9385', 'h', 'c', '5405', '7473', '7479', '4335', '1059', 'L', 53, 6103, 6769, 'j', 'M', 5003, 5689, 'k', 7347, 6505, 4659, 'd', 'p', 7555, 2393, 2835, 'z']
Example Output: H, o, 8723, c, v, 3103, a, F, v, 2307, w, Q, J, 695, e, y, 4567, 9385, h, c, 5405, 7473, 7479, 4335, 1059

Example Input: ['n', 4819, 'U', 'E', '7535', '9271', '503', '6157', 'U', 'f', 2483, 'C', 'Q', 'K'], ['m', 'c', 9891, 9321, '7535', '9271', '503', '6157', 'U', 3321, 'Z', 'n']
Example Output:
7535, 9271, 503, 6157, U