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

Ex Input:
[7485, 'Y', 'T', '5979', 'w', 'Q', 'e'], [1525, 4389, 'm', 'T', '5979', 'w', 'w', 1497, 8995]

Ex Output:
T, 5979, w


Ex Input:
['E', 4645, 'e', 'n', 'B', 5463, 6913, 8781, 'V', 5431, 2093, 'p', 'O', 'f', 'G', '9281', 'N', 'U', 'g', '8099', '2933', 'g', '7147', '7487', 'P', '8595', '613', 'g', 'a', '2477', 'R', 'M', 'j', 'C', 'g', 's', '8973', '503', 'F', 8327, 'o', 'u', 'x', 8857, 3197, 'Z', 1627, 'b', 8625, 'i', 'z', 7747, 'P', 4601, 'J', 1135, 'r', 9421, 5161, 177, 'Y', 'Y', 8459, 1323], [2471, 'W', 'j', 5445, 487, 'D', 4091, 'P', 'h', 'S', 'r', 'a', 'J', 'I', 6971, 3475, 'p', 'O', 'f', 'G', '9281', 'N', 'U', 'g', '8099', '2933', 'g', '7147', '7487', 'P', '8595', '613', 'g', 'a', '2477', 'R', 'M', 'j', 'C', 'g', 's', '8973', '503', 'B', 2857, 'z', 'w', 'b', 'V', 7163, 4553, 5793, 'v', 5601, 'K', 'Z', 'b', 'a', 6081, 't', 'w', 1979]

Ex Output:
p, O, f, G, 9281, N, U, g, 8099, 2933, g, 7147, 7487, P, 8595, 613, g, a, 2477, R, M, j, C, g, s, 8973, 503


Ex Input:
['t', 'W', 'i', 't', 4163, 'd', 'k', 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'T', 6267, 5627, 'u', 'g', 'F', 3861], ['f', 'g', 'N', 'I', 'C', 4633, 'Y', 'V', '5149', '6959', '6843', '7821', '6533', 'g', '6879', 'A', 'K', 1819, 3343, 8603, 'h', 1751, 'h']

Ex Output:

Y, V, 5149, 6959, 6843, 7821, 6533, g, 6879