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

Ex Input:
['H', 191, 5269, 'I', 8869, 'N', 9617, 7679, 'C', '9103', '905', 'N', 'n', 'E', '1397', '1061', '4683', 'x', '5823', 'w', 'F', 'i', 'm', 'L', 5561], ['x', 2143, 2583, 'l', 781, 'i', 67, 7861, 'q', 7467, 8599, '9103', '905', 'N', 'n', 'E', '1397', '1061', '4683', 'x', '5823', 'w', 'F', 'y', 'G', 1961, 'V', 'B', 877, 'J', 6495, 3531]

Ex Output:
9103, 905, N, n, E, 1397, 1061, 4683, x, 5823, w, F


Ex Input:
['g', 9605, '2057', '3119', 'R', 'X', 'p', '4501', 'h', '347', '7435', 'J', '4601', '4601', 'E', '8787', 'I', 'i', 3357, 'i', 6367, 't', 2131, 'J', 'W', 501, 679, 'o', 8079, 'O', 'u'], [761, 8395, '2057', '3119', 'R', 'X', 'p', '4501', 'h', '347', '7435', 'J', '4601', '4601', 'E', '8787', 'I', 'K', 'n', 9433]

Ex Output:
2057, 3119, R, X, p, 4501, h, 347, 7435, J, 4601, 4601, E, 8787, I


Ex Input:
[59, 1719, 'J', 'S', 'E', 7143, 'r', '4715', '7239', 'A', '1649', 'v', 'C', 'p', 'C', 'Z', 'D', 2671, 7987, 5357, 'S', 905, 'D', 'L', 'W', 't'], [1531, 3547, 't', 897, 6069, 7367, 'r', '4715', '7239', 'A', '1649', 'v', 'C', 'p', 'C', 'Z', 'q', 'b', 'e', 'J', 'B', 'v']

Ex Output:

r, 4715, 7239, A, 1649, v, C, p, C, Z