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

Ex Input:
['d', 2317, 'y', 8487, 'r', 4789, 5525, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'W', 'U', 5749, 9533, 'T', 'Z', 'x'], [1401, 'F', 9303, 'w', 4629, 9053, 'k', 7351, 1261, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'o', 'q']

Ex Output:
3961, 1747, v, 7423, 847, a, 4969, T, L, 5383


Ex Input:
[7667, 'U', 5597, 9391, 'm', 'F', 683, 'k', 'r', 'm', 4389, 'X', 'p', 39, 'E', '8801', 't', 'B', 'V', 'v', 'e', 'p', '9493', '4805', 'n', 'V', 'C', '4657', '6173', '3989', '9599', 'U', 'r', 's', '5255', '5265', 'r', 8425, 2993, 'e', 6063, 9811, 'P', 7403], [3191, 'S', 'b', 'F', 'B', 'Z', 'i', 'A', 1703, 'q', 3449, 'Q', 'X', 'f', 'k', 4455, 'L', '8801', 't', 'B', 'V', 'v', 'e', 'p', '9493', '4805', 'n', 'V', 'C', '4657', '6173', '3989', '9599', 'U', 'r', 's', '5255', '5265', 'F', 'b', 6335, 615, 6181, 'K', 'U', 'F', 'a', 7617, 'F', 'W', 'N', 'Z', 8971, 'h', 9081, 'h', 4427, 'j']

Ex Output:
8801, t, B, V, v, e, p, 9493, 4805, n, V, C, 4657, 6173, 3989, 9599, U, r, s, 5255, 5265


Ex Input:
[5977, 'u', 'l', 'o', 'X', 'M', 'Y', 'Y'], ['S', 'Z', 9157, 'l', 'o', 'X', 'P', 'D', 'F']

Ex Output:

l, o, X