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

Ex Input:
[6475, 9471, 3883, 'k', 3715, 'h', '4275', '3019', '9711', 'd', '7655', 'j', 'Y', 'H', 'f', '3135', '9479', 'K', 'E', 'J', '9713', '6953', 's', 'g', 'G', 9013, 1643, 619, 'b', 'k', 'z', 'd', 'w', 'E', 7989, 'o', 'C', 'Y'], [3391, 's', 5761, 9389, 6131, 'a', 1723, 451, 4781, 'S', 8389, 'l', 'P', 'h', '4275', '3019', '9711', 'd', '7655', 'j', 'Y', 'H', 'f', '3135', '9479', 'K', 'E', 'J', '9713', '6953', 'D', 7661, 885, 'J', 7381, 2713, 1355, 451, 'N', 'P', 'T', 5127, 8301, 1891, 9947, 'x', 7295]

Ex Output:
h, 4275, 3019, 9711, d, 7655, j, Y, H, f, 3135, 9479, K, E, J, 9713, 6953


Ex Input:
['X', 9737, 6673, 165, 5345, 'F', 'I', 'X', 2467, 'X', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'd', 'n', 'E'], [9725, 'G', 121, 'U', 2663, 'I', 'J', 2523, 'S', 'n', 'I', 'b', 'Q', 'z', 'v', '3523', '4717', 'a', 'A', 'Q', '5235', '1399', 's', '5195', '1327', 'O', 2705, 5041, 8019, 'P']

Ex Output:
I, b, Q, z, v, 3523, 4717, a, A, Q, 5235, 1399, s, 5195, 1327


Ex Input:
['n', 1263, 'A', 'l', 'I', 5671, 3927, 'J', 1881, 'h', 'N', 5147, '5831', '3529', 'p', 'E', '8265', 'q', '6199', '5805', 'Q', 'i', '6761', '8913', '9449', 'm', 'Y', 'n', '1499', 'x', 'o', '8003', '577', '5735', 'D', 3685], [9819, 4945, 'Y', 9993, 'o', 7139, 'H', 'k', 3691, 9105, 3031, 3257, 8531, 'F', 'C', 6845, 'S', 7593, 'b', 7157, 7179, '5831', '3529', 'p', 'E', '8265', 'q', '6199', '5805', 'Q', 'i', '6761', '8913', '9449', 'm', 'Y', 'n', '1499', 'x', 'o', '8003', '577', '5735', 'i', 'c', 7503, 7001, 'G', 'c', 9085, 3765, 'X']

Ex Output:

5831, 3529, p, E, 8265, q, 6199, 5805, Q, i, 6761, 8913, 9449, m, Y, n, 1499, x, o, 8003, 577, 5735