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

Ex Input:
[3707, 6473, 'o', '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'G', 9269, 5835, 2723, 'm', 'n', 6209], [7513, 4579, 6017, 7723, '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'w', 'T', 'g', 'M', 'V']

Ex Output:
495, 3897, O, x, 2409, 6843, 3477, 5411


Ex Input:
['Q', 'N', 'm', 'L', 2015, 'W', 'D', 'd', 'c', 'Q', 'I', 'N', 'W', 'j', 'A', 6921, 'X', 'H', 'N', 'l', 'U', 'p', '4397', 'X', '1559', '167', 'i', '8689', '9273', 'J', 'r', 'a', 'K', '5511', 'R', 'z', 'T', 'f', 'V', 'E', 'V', 6753, 'z', 2281, 'Y', 7397, 115, 3973, 8083, 6475, 'L', 'z', 5969, 3581, 'm', 3171, 3211], ['R', 5629, 'k', 3959, 'R', 'O', 'U', 'V', 'N', 'o', 3345, 'P', 4317, 'M', 'g', 8331, 'v', 'T', 'R', 'Y', 'X', 'H', 'N', 'l', 'U', 'p', '4397', 'X', '1559', '167', 'i', '8689', '9273', 'J', 'r', 'a', 'K', '5511', 'R', 'z', 'T', 'f', 'r', 'u', 9505, 3363, 4823, 'w', 'i', 'B', 'Q', 'Y', 'H', 'R', 2991, 's', 'U', 5579, 'C', 'F', 'E', 'j', 'P']

Ex Output:
X, H, N, l, U, p, 4397, X, 1559, 167, i, 8689, 9273, J, r, a, K, 5511, R, z, T, f


Ex Input:
['l', 117, 9275, 5759, 'l', 1741, 'i', 'n', 'e', 'z', 1145, 'a', 'F', '2839', 'U', 'Z', 'H', 'B', '6211', '6539', '5147', 'A', '5185', 'Q', '6113', 'G', 8373, 7085, 4211, 1793, 5781, 'P', 'C'], ['N', 5485, 'U', 'L', 'M', 'V', 'a', 'F', '2839', 'U', 'Z', 'H', 'B', '6211', '6539', '5147', 'A', '5185', 'Q', '6113', 'c', 'R', 5917, 'b']

Ex Output:

a, F, 2839, U, Z, H, B, 6211, 6539, 5147, A, 5185, Q, 6113