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

Ex Input:
[9575, 'B', 2013, 'J', 'e', 7839, 1517, 1505, 'T', 1109, 5639, 'o', '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'j', 3455, 4281, 7515, 2685, 617, 'M', 'f', 1943, 2675, 'L', 'U'], [1429, 2865, 'Y', 745, '4409', 'L', '9207', '2481', 'W', '5287', 'h', 'b', 'h', 'T', 'g', 'k', '5867', 'p', '3705', '1257', '4107', '3389', 'a', 'r', 'F', 'r', 'w', 3275, 'x', 'y', 'R', 'N', 'P', 4961, 'm', 'v', 'L', 'g', 'B']

Ex Output:
4409, L, 9207, 2481, W, 5287, h, b, h, T, g, k, 5867, p, 3705, 1257, 4107, 3389, a, r


Ex Input:
['v', 4045, 'D', 'P', 181, 4575, 'E', 'X', 'f', 2495, 'b', 5507, 8921, 'H', 8327, '893', 'f', '4969', 'B', 'A', 'T', 'V', 's', 'W', 'p', '5059', '6969', '9305', '4813', 's', 'X', 'y', 487, 'o', 'j', 'H', 'M', 2043, 8101, 'r', 5675, 'H'], ['X', 2089, 517, '893', 'f', '4969', 'B', 'A', 'T', 'V', 's', 'W', 'p', '5059', '6969', '9305', '4813', 's', 'H', 'P', 'M', 'X', 'B', 'y', 183, 3033, 2469, 2793, 8975]

Ex Output:
893, f, 4969, B, A, T, V, s, W, p, 5059, 6969, 9305, 4813, s


Ex Input:
['t', 7085, 'a', 'E', 'v', '8219', '9385', 'c', 'l', '9599', 'Z', 'B', 'R', 'j', 5105], ['G', 6505, 'v', '8219', '9385', 'c', 'l', '9599', 'L', 5289, 's', 6449]

Ex Output:

v, 8219, 9385, c, l, 9599