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

Example Input: [9627, 3485, 'B', 'B', 2377, 5949, 6975, 6061, 8717, 'I', 7415, 'v', '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'B', 'm', 'D', 'e', 3155, 'N', 'y', 5923, 1375, 5079], [883, 'N', 81, 'q', 'd', 'P', 'v', 'v', 6005, 1079, '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'J', 795, 'g']
Example Output: 3101, 7411, 3847, R, 4943, r, 2953, b, W, y, 3509, 6167, L, J

Example Input: ['i', 2153, 8879, 'Q', 9403, 6667, 'E', 1829, 'b', 'j', 1907, 9167, 3331, 'T', 't', 6039, 'i', 'z', 4097, '1959', 'U', 'q', '8789', 'z', '6135', 'K', '147', '6933', '3647', '9265', '10015', '4259', '7919', '2077', '3797', '631', '7453', 'e', '7297', '4417', '2479', 'H', 'B', 'Y', 'q', 2151, 129, 'd', 'I', 'N', 5573, 'S', 'x', 5201, 'J', 2507, 'Y', 4951, 'b', 8655, 7611, 5419, 3559], ['K', 6565, 'L', 'E', 4757, 'x', 'W', 't', 'X', 's', 2289, 2227, 'm', 's', 661, 8723, 'P', 'U', 'S', 7791, '1959', 'U', 'q', '8789', 'z', '6135', 'K', '147', '6933', '3647', '9265', '10015', '4259', '7919', '2077', '3797', '631', '7453', 'e', '7297', '4417', '2479', 'K', 4161, 'e', 'z', 't', 8701, 5515, 8391, 'C', 9017, 3623, 3777, 'z', 'O', 'w', 7551, 4971, 'U']
Example Output: 1959, U, q, 8789, z, 6135, K, 147, 6933, 3647, 9265, 10015, 4259, 7919, 2077, 3797, 631, 7453, e, 7297, 4417, 2479

Example Input: ['w', 'K', 743, 1265, 6905, 'U', 'd', 'J', 'K', '1033', '9713', 'J', '9169', 'i', '1333', 'E', 'T'], [8221, 7833, 'o', 'V', 'C', 'J', 'K', '1033', '9713', 'J', '9169', 'i', '1333', 4013, 4513]
Example Output:
J, K, 1033, 9713, J, 9169, i, 1333