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

Ex Input:
['i', 6139, 'B', 'z', 'A', 7029, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'F', 1251], ['d', 9233, 543, 5455, 8707, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'r', 4751]

Ex Output:
r, l, N, J, 7029, l, m


Ex Input:
[4521, 9297, 1549, 'j', 6533, 5069, 2291, 3507, 6815, 1619, 5771, 'k', '1705', '9637', 'd', 'g', '3717', 'Q', 'V', '8195', 'S', 'E', 'a', 'y', 'r', 'k', 'o', 'L', 3267, 'L', 2907, 'l', 4505, 'm', 3519, 'g'], ['T', 'r', '1705', '9637', 'd', 'g', '3717', 'Q', 'V', '8195', 'S', 'E', 'a', 'y', 'A', 873, 's', 1819, 4947, 'E', 'k', 'I', 'M']

Ex Output:
1705, 9637, d, g, 3717, Q, V, 8195, S, E, a, y


Ex Input:
[1615, 'B', 6037, 3147, 7057, 3371, 3065, 4695, 'A', 6021, 'y', '5769', '9435', '1837', 'U', 'p', 'w', 'f', '5545', '975', 'W', '1241', 'l', 'B', 'e'], [7215, 'I', 'X', 6723, 'O', 4467, 'H', 'y', '5769', '9435', '1837', 'U', 'p', 'w', 'f', '5545', '975', 'W', '1241', 'l', 'E', 'l', 9595, 903, 'h', 3147, 5515, 2511, 2179, 'l', 1759]

Ex Output:

y, 5769, 9435, 1837, U, p, w, f, 5545, 975, W, 1241, l