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

Ex Input:
[6137, 1795, 'J', 9247, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'J', 7209, 'S'], [3317, 657, 3971, 8789, 4953, 9693, 'O', 7845, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'M', 'A', 'B', 'l']

Ex Output:
r, w, E, s, 687, N, 8213, 1751, 2567, 5673, y, 6821, 6863, 8847, z, s, N, z


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:
[1029, 1103, 'r', 'p', '4445', 'X', '3241', '7327', 'z', '6117', '4837', '6939', 'l', 's', '2977', 'a', 'g', '7885', '7409', '8817', '3163', 'Z', '4011', 'e', '1895', 'V', '6917', 'r', 'N', 4511, 4045, 2315, 1309, 'N'], ['j', 7431, 3163, 'Z', 'c', 7517, 'q', 5735, 4367, 'p', '4445', 'X', '3241', '7327', 'z', '6117', '4837', '6939', 'l', 's', '2977', 'a', 'g', '7885', '7409', '8817', '3163', 'Z', '4011', 'e', '1895', 'V', '6917', 'r', 'r', 6563, 'a', 3819, 'q', 'S', 6955, 'Q']

Ex Output:

p, 4445, X, 3241, 7327, z, 6117, 4837, 6939, l, s, 2977, a, g, 7885, 7409, 8817, 3163, Z, 4011, e, 1895, V, 6917, r