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

Ex Input:
[2165, 'A', 'L', '6045', '1245', 'Y', 't', 'M', 'y', '1889', 'H', 'C', '8175', 'c', 4715, 'w', 3191, 'Q', 2951, 3303], [1387, 2063, 'm', 'k', '6045', '1245', 'Y', 't', 'M', 'y', '1889', 'H', 'C', '8175', 'o', 9521, 1539, 'e', 6687, 6805]

Ex Output:
6045, 1245, Y, t, M, y, 1889, H, C, 8175


Ex Input:
['J', 'G', 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'm', 't', 'z', 9681, 'z'], ['Q', 4625, 4609, 2245, 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'A', 9751, 'U', 7397]

Ex Output:
h, z, 6979, W, W, 7681, s, 8827


Ex Input:
['e', 'L', 735, 2297, 'A', 'Y', 'm', 'V', 'N', '3301', '6737', '9931', 'T', 'C', 'O', 'x', '5443', 'G', 'M', 'n', '755', '1611', 'C', 'b', '7079', 'q', 'h', 6767], ['V', 'm', 6249, 'Q', 'C', 6861, 9731, 'B', 'n', 7935, 'j', 'a', 1267, 8593, 1867, 'A', 'Y', 'm', 'V', 'N', '3301', '6737', '9931', 'T', 'C', 'O', 'x', '5443', 'G', 'M', 'n', '755', '1611', 'C', 'b', '7079', 'S', 1193, 'F', 6181]

Ex Output:

A, Y, m, V, N, 3301, 6737, 9931, T, C, O, x, 5443, G, M, n, 755, 1611, C, b, 7079