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

Ex Input:
[273, 'i', 4051, 9063, 'D', 'E', 5087, 'M', '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'h', 'u', 5559, 1733, 9555], ['i', 5977, 'r', 'b', 589, '9959', '6273', 'p', 'L', 'B', 'H', '7889', '9933', 'p', '519', '339', 'n', 'y', 'q']

Ex Output:
9959, 6273, p, L, B, H, 7889, 9933, p, 519, 339


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:
[2465, 'R', 1443, 8521, 4131, 'w', 'R', 's', 'R', 4339, 'G', 7845, 'k', 'f', 9921, 'o', 'W', 'Y', 'a', 'S', 'N', 'S', 'B', 'K', 'U', 'z', '71', '5799', 'h', '2293', '1103', 's', 'c', 'P', 'G', 'N', 'A', 'F', 'K', '7221', '1507', 'q', 'q', 'p'], ['r', 513, 2395, 6659, 81, 2251, 2035, 1449, 's', 5523, 'k', 'K', 'q', 'o', 'N', 3309, 9529, 'o', 3715, 'S', 9041, 'L', 'j', 'Y', 'a', 'S', 'N', 'S', 'B', 'K', 'U', 'z', '71', '5799', 'h', '2293', '1103', 's', 'c', 'P', 'G', 'N', 'A', 'F', 'K', '7221', '1507', 'q', 'b', 'R', 'b', 'O', 'I', 'f']

Ex Output:

Y, a, S, N, S, B, K, U, z, 71, 5799, h, 2293, 1103, s, c, P, G, N, A, F, K, 7221, 1507, q