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

Ex Input:
['Y', 7191, 'w', 'I', 2387, 3493, 'F', 9797, 4797, '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'p', 5525, 3953, 1931, 6723, 7597, 9781, 8621, 'f', 6959, 4341, 5543], [7099, 'h', 'm', 1247, 'F', 2321, 'G', 'c', 'a', 57, 7997, 'Y', '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'd', 'k', 3051, 647]

Ex Output:
1075, i, 2867, 6269, X, 8729, u, X, g, 8731, L, 3791, I, 6677, x

Ex Input:
[2785, 'M', 'd', 8001, 'z', 'G', 5661, 2853, 9397, 4757, 'b', 'f', 989, 'U', 'K', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'P', 'G', 'v', 4813, 'G', 6799, 9011, 'z', 4267], ['T', 'j', 'I', 6037, 'w', 'g', 3555, 9897, 9741, 5673, 5825, 407, 2157, 6461, 6095, 4477, 'Y', 'Y', 1773, 'N', 4151, 'j', 2911, 7543, 'b', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'C', 9075, 'j', 'o', 9087, 3137, 'G', 'j', 'p', 'd', 'N', 2085, 831, 1041, 1181, 'Y', 9409, 2267, 'q', 'w', 'w', 'O', 7523]

Ex Output:
3583, 4559, 2581, n, t, s, 987, o, 5487, c, E, 4505, 6765, 8305, N, s, 9393, q, r, 5487, 6365, 9377, M, 6661, 8579, 9899, x, 5739

Ex Input:
['S', 7519, 2893, 'x', 2899, 'Z', 'O', 'L', 'M', 'Z', 'e', 6109, '6199', '8205', '307', '4615', '4713', 'l', 'B', '667', 'H', 'N', 'B', '6069', '6893', 'X', 'N', '4325', '4565', 'W', '7605', '1325', 'J', '5075', 'j', '5697', 'P', 'z', 681, 'v', 'K', 6769, 'N', 'u', 'I', 3911, 'i', 'P', 'd', 'v'], ['l', 6945, 'H', 'Z', 'u', 1737, 3085, 'D', 4117, 5367, 'x', 2641, 'P', 3941, 8177, 'f', 'e', '6199', '8205', '307', '4615', '4713', 'l', 'B', '667', 'H', 'N', 'B', '6069', '6893', 'X', 'N', '4325', '4565', 'W', '7605', '1325', 'J', '5075', 'j', '5697', 'P', 'D', 5585, 1503, 4707, 'y', 2593, 'A', 'o', 'u']

Ex Output:
6199, 8205, 307, 4615, 4713, l, B, 667, H, N, B, 6069, 6893, X, N, 4325, 4565, W, 7605, 1325, J, 5075, j, 5697, P