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

Ex Input:
['J', 'G', 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'm', 't', 'z', 9681, 'z'], ['Q', 4625, 4609, 2245, 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'A', 9751, 'U', 7397]

Ex Output:
h, z, 6979, W, W, 7681, s, 8827


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:
['C', 'q', 'h', 2627, 'M', 'N', 8305, 'T', 4901, 'k', 5347, 4357, 9385, '5613', 'U', 'L', 'g', '4279', '7611', 'x', 'm', 'M', 'S', '8147', 'X', 'M', '6143', '6321', '75', '2599', 'g', '6443', 'U', 'K', 'P', 'b', 'a', 'b', 7299, 3821, 'i', 771, 's', 8639, 'd', 's', 'F', 'L', 2201, 7863, 'E', 9533, 5205, 'C', 6131], [3777, 'T', 'C', '5613', 'U', 'L', 'g', '4279', '7611', 'x', 'm', 'M', 'S', '8147', 'X', 'M', '6143', '6321', '75', '2599', 'g', '6443', 'U', 'K', 'P', 'b', 'a', 'v', 3859, 6053, 211, 2075, 9891, 875, 'h', 8383, 8891, 6931, 9097, 7547]

Ex Output:

5613, U, L, g, 4279, 7611, x, m, M, S, 8147, X, M, 6143, 6321, 75, 2599, g, 6443, U, K, P, b, a