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

Ex Input:
['w', 'Z', 8573, 'o', 'D', 'J', 5037, 2641, 'O', 'T', '9477', 'u', 'n', 'x', '693', 'o', 'l', '9113', '3117', '3743', '1889', 'G', 'P', 6189, 7671, 5677], ['P', 1411, 'O', 'T', '9477', 'u', 'n', 'x', '693', 'o', 'l', '9113', '3117', '3743', '1889', 'P', 'K', 'l', 'U', 2505, 3803, 9459, 'H', 1427, 1453, 'g']

Ex Output:
O, T, 9477, u, n, x, 693, o, l, 9113, 3117, 3743, 1889


Ex Input:
[7257, 'p', 'o', 7595, 'w', 'S', 'U', '3739', 'Z', 'n', 'm', 'M', '6421', '3519', 'B', '2639', 'a', '8269', 'j', '2425', 'E', 'E', 'V', 'H', 'D', 'd', 'M', 'o', '3915', 'v', 'P', 'l', 'i', 'q', 6171, 397, 1631], [4641, 1471, 5915, 1657, 4847, 'v', 3719, 'U', 9943, 'v', 2189, 9163, 'Y', 'C', 'e', 3867, 3395, 'm', 5999, 9653, 'K', 'H', 2767, 1999, 'w', 'S', 'U', '3739', 'Z', 'n', 'm', 'M', '6421', '3519', 'B', '2639', 'a', '8269', 'j', '2425', 'E', 'E', 'V', 'H', 'D', 'd', 'M', 'o', '3915', 'g', 5715, 'm', 'K', 'g', 'Q', 5439, 7327, 'V', 1335, 885, 9993, 'n', 2303, 1305, 9329, 'i', 5357, 't', 7567, 2211, 787, 7459]

Ex Output:
w, S, U, 3739, Z, n, m, M, 6421, 3519, B, 2639, a, 8269, j, 2425, E, E, V, H, D, d, M, o, 3915


Ex Input:
[9195, 's', 8485, 'd', 'w', 6437, 'a', 7841, 8103, 'L', 'n', 'R', '2915', 'Q', 'U', 'x', '5513', 'b', '8577', 'X', '2187', 'U', '3001', 'o', 'q', 'm', 'D', 'k', 2979, 'S', 'l', 'l', 'A', 5351, 4355], ['d', 2857, 'I', 's', 'A', 5673, 'R', '2915', 'Q', 'U', 'x', '5513', 'b', '8577', 'X', '2187', 'U', '3001', 'o', 'J', 17]

Ex Output:

R, 2915, Q, U, x, 5513, b, 8577, X, 2187, U, 3001, o