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

Ex Input:
['c', 'G', 8225, 6329, '6291', '5279', 'n', 'A', 'J', 'n', 5221, 'r', 't'], ['k', 'M', 'Z', 'B', 4003, '6291', '5279', 'n', 'A', 'J', 'g', 'm']

Ex Output:
6291, 5279, n, A, J


Ex Input:
[6157, 337, 8845, 'b', 'a', 'C', 't', 7537, 755, '7179', '1999', '2935', 'x', '4511', '1859', 'Y', 'E', '9719', 'x', 'v', '6477', '1821', 'L', 'w', 'R', '6721', 'D', 'T', '2329', 'N', '8993', 'b', '4199', '1493', 'x', 7067, 441, 4641, 927, 8561, 3119, 'b', 4709, 'S', 975, 'i', 'e', 5163, 4073, 2731, 6333, 9819, 1279, 6035, 'W', 2727, 'V', 'x', 3127], ['G', 4151, 'N', 'M', 7347, 'C', 'S', 'r', 9075, 1287, 'x', 'B', 'n', 5569, 'r', 'a', 'b', 'u', 'M', 1465, 3277, 'D', 3207, '7179', '1999', '2935', 'x', '4511', '1859', 'Y', 'E', '9719', 'x', 'v', '6477', '1821', 'L', 'w', 'R', '6721', 'D', 'T', '2329', 'N', '8993', 'b', '4199', '1493', 'R', 9029, 6923, 'v', 'Q', 2415, 4647, 'm', 6267, 'J', 7565, 4235, 4739, 749, 'f', 'L', 5809, 'f']

Ex Output:
7179, 1999, 2935, x, 4511, 1859, Y, E, 9719, x, v, 6477, 1821, L, w, R, 6721, D, T, 2329, N, 8993, b, 4199, 1493


Ex Input:
[2737, 'K', 8671, 5669, 3211, 'V', 'Z', 'L', 5919, 2669, 'Z', 'p', '5657', '949', '3337', 'M', 'P', 'T', 'T', '8901', 'T', 'I', '5799', '501', 'g', 'S', '8877', 's', 5647, 'd'], [3715, 9001, 9639, 'V', 9051, 'g', 5265, 4003, 8087, 'p', '5657', '949', '3337', 'M', 'P', 'T', 'T', '8901', 'T', 'I', '5799', '501', 'g', 'S', '8877', 'U', 'b', 'X', 7585, 'B', 'T', 1967, 'g', 5599, 1275]

Ex Output:

p, 5657, 949, 3337, M, P, T, T, 8901, T, I, 5799, 501, g, S, 8877