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

Ex Input:
[737, 'z', 4401, 6317, 't', 'B', 3815, 'm', 'G', '8709', '4749', 'J', '8885', 'k', 'Y', '3083', 'X', '8267', 'T', 'A', 'A', '7049', '6681', '6111', 's', 't', 'h', 1687, 'T', 'O', 'A', 'r', 'U', 6703, 'u', 'm', 1571, 'J', 2289, 8279], [5617, 'D', 'p', '8709', '4749', 'J', '8885', 'k', 'Y', '3083', 'X', '8267', 'T', 'A', 'A', '7049', '6681', '6111', 's', 'n', 5571, 8277, 'D', 1885, 7949, 3767, 'o', 'K', 5755, 'v', 9117, 's', 'b']

Ex Output:
8709, 4749, J, 8885, k, Y, 3083, X, 8267, T, A, A, 7049, 6681, 6111, s


Ex Input:
[225, 'D', 4905, 3065, 'e', 'I', 'V', 3599, 'D', 5851, 2675, 4601, 7721, 'B', 'W', '8579', '5823', 'j', 'o', 'A', 'x', '9525', '6535', '7653', 'r', '7807', 'o', 'h', '5139', '3941', 'T', 'U', 2673, 6825, 'r', 3045, 5503, 'L', 'y', 7333, 5693], [4873, 9897, 2905, 9917, 'Q', 7565, 'w', 6631, 3015, 'n', 's', 't', 9913, 'Q', 'W', '8579', '5823', 'j', 'o', 'A', 'x', '9525', '6535', '7653', 'r', '7807', 'o', 'h', '5139', '3941', 'T', 'p', 8733, 'o', 2341, 777, 'q', 's']

Ex Output:
W, 8579, 5823, j, o, A, x, 9525, 6535, 7653, r, 7807, o, h, 5139, 3941, T


Ex Input:
['n', 'R', 'G', 'y', 'C', 5123, 8691, 'A', 5431, 9373, 'n', 13, 7457, 'U', 4623, 4823, 'Q', 7171, 5683, 6147, 'f', 'a', 'I', '6223', '3641', 'a', 'g', 'X', 'u', '2895', '1593', '6085', 'o', '9395', 'U', 'Q', '6013', '549', '5993', 'J', '2905', 'P', 'L', '3703', '6645', 'e', '1235', 'p', 'Z', 'J', 'M', 5067, 475, 'X'], [8167, 1131, 'b', 3569, 5831, 'E', 7903, 'N', 'j', 'h', 4017, 2033, 'x', 5747, 'g', 8819, 'o', 103, 'f', 'a', 'I', '6223', '3641', 'a', 'g', 'X', 'u', '2895', '1593', '6085', 'o', '9395', 'U', 'Q', '6013', '549', '5993', 'J', '2905', 'P', 'L', '3703', '6645', 'e', '1235', 'p', 'Z', 'J', 'C', 5423, 'C', 'r', 'S', 'd', 'N', 9057, 8791, 669, 9477, 2355]

Ex Output:

f, a, I, 6223, 3641, a, g, X, u, 2895, 1593, 6085, o, 9395, U, Q, 6013, 549, 5993, J, 2905, P, L, 3703, 6645, e, 1235, p, Z, J