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

Ex Input:
['m', 'R', 1791, 'v', 5547, 'p', 'j', 5069, 8061, 'G', 's', 1521, 2285, 1963, 'n', 'a', '4537', 'X', 'Z', '8981', 'W', 'u', '827', '4681', '2433', '3179', 'p', 'a', '4675', 'r', '3527', '3021', '6363', 'o', 'E', 'a', 6921, 'e', 7497, 'Y', 'p', 451, 'f', 6413, 3785, 1601, 3193, 'i'], [9375, 2255, 'j', '4537', 'X', 'Z', '8981', 'W', 'u', '827', '4681', '2433', '3179', 'p', 'a', '4675', 'r', '3527', '3021', '6363', 'o', 'E', 'f', 'K']

Ex Output:
4537, X, Z, 8981, W, u, 827, 4681, 2433, 3179, p, a, 4675, r, 3527, 3021, 6363, o, E

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:
['w', 1709, 'q', 7369, '7887', 'c', '8189', 'B', '9035', '6995', 'l', '8907', '5631', '4251', 'R', 'c', 'h', 6407, 7549, 'f'], [9003, 4355, 9765, 'N', 'u', 8255, 'r', '7887', 'c', '8189', 'B', '9035', '6995', 'l', '8907', '5631', '4251', 'd', 4807, 8037]

Ex Output:
7887, c, 8189, B, 9035, 6995, l, 8907, 5631, 4251