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

Example Input: [9677, 4817, 5889, 'w', '9447', 'A', 'g', '4241', 'l', '6431', 'v', 'r', '1925', '1007', '8177', '5627', '7383', '691', 'Z', '7593', 'r', 5945, 2503, 9765, 8527], [1659, 'z', 7571, 'w', '9447', 'A', 'g', '4241', 'l', '6431', 'v', 'r', '1925', '1007', '8177', '5627', '7383', '691', 'Z', '7593', 's', 'f', 7387, 4583, 4393, 'o', 8185, 'Y', 3513]
Example Output: w, 9447, A, g, 4241, l, 6431, v, r, 1925, 1007, 8177, 5627, 7383, 691, Z, 7593

Example Input: [6507, 8623, 6879, '1327', '6971', 'd', 'A', 3663, 7831], [1711, 4751, 3479, '1327', '6971', 'd', 'u', 1771]
Example Output: 1327, 6971, d

Example Input: [7259, 7991, 747, 9685, 179, 'd', 'R', 'U', 1, 8539, 8211, 'x', 3267, 'G', 6949, 'd', 4669, 2513, 9299, 'U', 3391, 'd', 2085, 4809, 667, 1829, 'T', 'X', 'n', '8149', '2033', '2935', 'O', '7935', '8329', 'B', 'W', '6541', '7815', 'L', '2747', '1827', '55', '4541', '501', 'p', 'H', 'b', 'w', '7975', 't', '8289', 'c', 'L', 2367, 9139, 'h', 7909, 5299, 'a', 'a', 'L'], [137, 'J', 'u', 'T', 'X', 'n', '8149', '2033', '2935', 'O', '7935', '8329', 'B', 'W', '6541', '7815', 'L', '2747', '1827', '55', '4541', '501', 'p', 'H', 'b', 'w', '7975', 't', '8289', 'c', 7569, 1615, 'N', 'T', 'Z', 'B', 'f', 4425, 'M', 'l', 'V', 'h', 6025]
Example Output:
T, X, n, 8149, 2033, 2935, O, 7935, 8329, B, W, 6541, 7815, L, 2747, 1827, 55, 4541, 501, p, H, b, w, 7975, t, 8289, c