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

Ex Input:
['z', 'F', 'H', 'E', 1495, 'u', 't', 'm', 'o', '1165', 'b', 75, 'B'], ['n', 'H', 'M', 'j', 3999, 'u', 't', 'm', 'o', '1165', 'r', 'x', 'W']

Ex Output:
u, t, m, o, 1165


Ex Input:
[9627, 3485, 'B', 'B', 2377, 5949, 6975, 6061, 8717, 'I', 7415, 'v', '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'B', 'm', 'D', 'e', 3155, 'N', 'y', 5923, 1375, 5079], [883, 'N', 81, 'q', 'd', 'P', 'v', 'v', 6005, 1079, '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'J', 795, 'g']

Ex Output:
3101, 7411, 3847, R, 4943, r, 2953, b, W, y, 3509, 6167, L, J


Ex Input:
['C', 'P', 'b', 'b', 'w', 8549, 6725, 3113, 'l', 5615, 'z', 9585, 3307, 861, 'I', 'p', 'R', 'L', '547', 'C', '5469', '8567', '7885', 'T', '937', '3013', '5049', '3493', 'x', '5689', '2085', 'B', 'T', 'I', '9745', 'X', 'V', 'v', '9619', 'U', 'k', 'J', '5499', '2577', 'p', 'd', 9385, 'p', 1683, 7491, 825, 5977, 7537, 'V'], [8113, 7313, 'y', 'B', 4173, 'L', '547', 'C', '5469', '8567', '7885', 'T', '937', '3013', '5049', '3493', 'x', '5689', '2085', 'B', 'T', 'I', '9745', 'X', 'V', 'v', '9619', 'U', 'k', 'J', '5499', '2577', 'R', 'i', 6209, 'e', 'o', 'r', 'x', 'R', 307, 'X', 5097, 5383, 2473, 'M', 3837, 'r', 'M', 'e', 3389, 'W', 9477, 'x']

Ex Output:

L, 547, C, 5469, 8567, 7885, T, 937, 3013, 5049, 3493, x, 5689, 2085, B, T, I, 9745, X, V, v, 9619, U, k, J, 5499, 2577