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

Ex Input:
['g', 9605, '2057', '3119', 'R', 'X', 'p', '4501', 'h', '347', '7435', 'J', '4601', '4601', 'E', '8787', 'I', 'i', 3357, 'i', 6367, 't', 2131, 'J', 'W', 501, 679, 'o', 8079, 'O', 'u'], [761, 8395, '2057', '3119', 'R', 'X', 'p', '4501', 'h', '347', '7435', 'J', '4601', '4601', 'E', '8787', 'I', 'K', 'n', 9433]

Ex Output:
2057, 3119, R, X, p, 4501, h, 347, 7435, J, 4601, 4601, E, 8787, I


Ex Input:
['c', 2475, 'i', 2197, 'q', 2625, 'd', 9865, 4981, 407, 'C', 'U', '2141', '1319', 'f', 'c', 'x', 'H', '799', 'd', '9863', 'G', '3589', 'C', '4441', 'N', '2645', '8129', '9275', '2457', '7885', 'K', '4559', '2447', 'v', 'L', 'u', '7573', 'y', 'y', 'j', 5261, 'C', 7391, 'a', 3145, 1309, 'A', 's', 9681, 6579, 'H', 621, 'R', 'G'], ['L', 5243, 8851, 't', 10015, 'Z', 'f', 'v', 6007, 7767, 5085, 5665, 5755, 3261, 5521, 'v', 'N', 1465, 8667, 'W', '2141', '1319', 'f', 'c', 'x', 'H', '799', 'd', '9863', 'G', '3589', 'C', '4441', 'N', '2645', '8129', '9275', '2457', '7885', 'K', '4559', '2447', 'v', 'L', 'u', '7573', 'y', 'y', 'I', 'i', 5747, 2727, 'R', 's', 2623, 'u', 'Q', 9057, 'd', 'G', 'M', 3307]

Ex Output:
2141, 1319, f, c, x, H, 799, d, 9863, G, 3589, C, 4441, N, 2645, 8129, 9275, 2457, 7885, K, 4559, 2447, v, L, u, 7573, y, y


Ex Input:
[8467, 2161, 5219, 'u', 4155, 'g', 6875, 2595, '8097', 'u', '6517', 'C', 'm', '4527', '2689', '5513', '7291', 'T', 'l', 'w', '5569', '3687', '6911', 'B', '6949', 'T', '23', '2085', 'W', 'G', 'Z', 'X', '6259', '375', '7789', 'l', '9771', 'O', 241, 1905, 'r', 'o', 'e', 'W', 9683, 'N', 'd', 'V', 3147, 'S'], ['K', 'D', 3729, 'G', 9343, 1779, 'w', 2853, 9297, 'i', 1953, 't', 9389, 'G', 5199, 4117, 8555, 6359, 'r', 'Q', 'o', 'A', 6289, 'Y', 6093, 3771, '8097', 'u', '6517', 'C', 'm', '4527', '2689', '5513', '7291', 'T', 'l', 'w', '5569', '3687', '6911', 'B', '6949', 'T', '23', '2085', 'W', 'G', 'Z', 'X', '6259', '375', '7789', 'l', '9771', 'x', 459, 505, 9787, 'c', 'Q', 'n', 'a', 'q', 4033, 5581, 7905, 'e']

Ex Output:

8097, u, 6517, C, m, 4527, 2689, 5513, 7291, T, l, w, 5569, 3687, 6911, B, 6949, T, 23, 2085, W, G, Z, X, 6259, 375, 7789, l, 9771