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

Ex Input:
['R', 't', 'y', '2887', 'x', 4883], [5691, 9457, 'y', '2887', 'u', 'Y']

Ex Output:
y, 2887


Ex Input:
[5269, 'q', 'b', 9461, 1715, 8909, 2865, 't', 3899, 9097, 's', 'J', 'u', 'O', 'q', '3289', '9079', 'q', '1341', 'a', '8881', 's', '1837', '4351', '5559', '43', '4733', 'y', '6455', '6219', '725', '7947', '7143', '9627', '3401', '1647', '755', 'E', 4775, 7047, 6939, 5023, 'F', 1385, 'f', 'P', 'R', 6711, 3741, 'C', 6351, 'K', 5279, 'm', 4933, 8587, 4429, 793, 5537, 'v'], ['X', 'A', 'I', 'W', 8039, 6937, 'l', 209, 6835, 'Z', 'x', 'G', 'R', 's', 'J', 'u', 'O', 'q', '3289', '9079', 'q', '1341', 'a', '8881', 's', '1837', '4351', '5559', '43', '4733', 'y', '6455', '6219', '725', '7947', '7143', '9627', '3401', '1647', '755', 'i', 'a', 'k', 5823, 'r', 'l', 'p', 'F', 5771, 'H', 7231, 't', 'c']

Ex Output:
s, J, u, O, q, 3289, 9079, q, 1341, a, 8881, s, 1837, 4351, 5559, 43, 4733, y, 6455, 6219, 725, 7947, 7143, 9627, 3401, 1647, 755


Ex Input:
['N', 4709, 'W', 4999, 'P', 5583, 2701, 6407, 'g', 4361, 5073, 1629, 'P', 'z', 'P', '5235', 'x', '7877', 'V', 'c', 'w', 'V', '8799', '9063', '1631', '2091', 'Y', 'u', 1513, 6197, 'p', 'r', 8287, 'r'], [469, 'm', 7289, 8973, 1287, 'z', 'P', '5235', 'x', '7877', 'V', 'c', 'w', 'V', '8799', '9063', '1631', '2091', 'r', 'u', 'W', 1481, 'J', 'w', 'H', 'z']

Ex Output:

z, P, 5235, x, 7877, V, c, w, V, 8799, 9063, 1631, 2091