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

Ex Input:
[7485, 'Y', 'T', '5979', 'w', 'Q', 'e'], [1525, 4389, 'm', 'T', '5979', 'w', 'w', 1497, 8995]

Ex Output:
T, 5979, w


Ex Input:
['Y', 'l', 6297, 9773, '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'T', 'O', 2961, 6077, 'L', 5737, 99, 2363, 'A', 'I', 'E', 5649, 4127, 'm', 3085], ['g', 8141, 'Y', 7433, 1501, 2423, 'P', 8359, 8589, 7265, 265, 'N', 'J', 8251, 'f', '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'K', 9051, 'Q', 'M']

Ex Output:
6077, B, x, C, 7371, 5635, 9551, 8421, 6587, Y, L, i, 1275, J, s, C, 10005, x, 9473, I


Ex Input:
[9665, 7543, 'i', 447, 'Z', 8479, 'c', 'e', 'j', '6201', '9611', '2965', 'i', '235', 'S', 'w', 'e', '7629', '21', 'c', 'a', '5877', 'H', '4869', 'y', 'E', '4489', '1499', '6423', '3559', 'O', 8921, 6625, 'F', 'g', 'g', 'M', 9107, 'n'], ['n', 'u', 5869, 'h', 'U', 'B', 'T', 'I', 'U', 'l', 'y', 9397, 'd', 'b', 'e', 'j', '6201', '9611', '2965', 'i', '235', 'S', 'w', 'e', '7629', '21', 'c', 'a', '5877', 'H', '4869', 'y', 'E', '4489', '1499', '6423', '3559', 's', 'q', 7485, 7619, 3379, 6111, 'L', 'b', 'v', 4695, 8073, 5839, 6367, 951, 'c', 5365, 'p', 8733, 8723, 2673, 'i', 817, 'b']

Ex Output:

e, j, 6201, 9611, 2965, i, 235, S, w, e, 7629, 21, c, a, 5877, H, 4869, y, E, 4489, 1499, 6423, 3559