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

Ex Input:
[319, 1325, 9567, 'M', 'm', 1759, 't', 'Z', 'X', 7981, 2409, 5023, 'b', '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'I', 5289, 1221, 'k', 5727, 5411, 7127, 'F', 'J', 'o', 7587, 'm', 237, 415, 8413, 'j'], ['O', 5043, '8661', '6609', '8213', 'Y', '9541', '8065', 'M', '8267', 'V', 'K', '3217', '1111', '1411', 'u', '9705', 'V', 'U', '3171', '4195', 'Z', 't', 'p', 'v', 5793]

Ex Output:
8661, 6609, 8213, Y, 9541, 8065, M, 8267, V, K, 3217, 1111, 1411, u, 9705, V, U, 3171, 4195, Z, t, p


Ex Input:
['B', 's', 'G', 3817, 'Y', '3253', 's', 'W', '2755', 'I', '8231', 'T', 'm', 'j', '1003', '133', 'o', 'Y', 'Y', 'N', 'Q', '8799', '3455', 'B', 997, 8067, 3771, 1367, 1903, 811, 'Z', 8913], ['l', 223, 's', 'B', 'H', 9633, 6875, 'O', 5231, 'Y', '3253', 's', 'W', '2755', 'I', '8231', 'T', 'm', 'j', '1003', '133', 'o', 'Y', 'Y', 'N', 'Q', '8799', '3455', 'O', 'k', 'l', 5187, 'j', 9867, 'Z', 8963, 'b', 2165, 213, 'r', 9723, 's', 8303]

Ex Output:
Y, 3253, s, W, 2755, I, 8231, T, m, j, 1003, 133, o, Y, Y, N, Q, 8799, 3455


Ex Input:
['a', 3891, 'c', 'F', 'F', 8989, 'S', 't', 721, 'n', 9099, 'n', 9363, 't', 'N', 6571, 8589, 'e', 'K', '341', 'F', 'V', '4385', 'f', '9819', 'n', 'S', 'm', '6763', '1039', 'l', '3091', 'R', 'u', 'V', '8629', '2885', '7443', 'T', 's', 'O', 5239, 433, 'H', 'T', 's', 'f', 'f', 'Z', 1895, 5883, 5289], [6047, 4653, 'K', '341', 'F', 'V', '4385', 'f', '9819', 'n', 'S', 'm', '6763', '1039', 'l', '3091', 'R', 'u', 'V', '8629', '2885', '7443', 'Q', 8301, 2213, 7113]

Ex Output:

K, 341, F, V, 4385, f, 9819, n, S, m, 6763, 1039, l, 3091, R, u, V, 8629, 2885, 7443


