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

Ex Input:
[953, 'l', '1329', '527', '6257', 'v', '5461', 'F', 't', 3373, 'r'], ['v', 'P', '1329', '527', '6257', 'v', '5461', 'h', 5517, 'Z', 'y', 5061]

Ex Output:
1329, 527, 6257, v, 5461


Ex Input:
[6137, 1795, 'J', 9247, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'J', 7209, 'S'], [3317, 657, 3971, 8789, 4953, 9693, 'O', 7845, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'M', 'A', 'B', 'l']

Ex Output:
r, w, E, s, 687, N, 8213, 1751, 2567, 5673, y, 6821, 6863, 8847, z, s, N, z


Ex Input:
[423, 4833, 2793, 9457, 8247, 'l', 2203, 'd', 'I', 4779, 'W', 9251, 4717, 657, '6895', 'g', 'P', 'G', 'D', 'D', '931', 'b', '9935', 'S', 't', 'm', '2081', '265', '5539', '6091', 'n', 'Z', 'j', '7425', 'p', 'l', 'x', '8551', 'j', 'E', 'V', 'w', 'W', 'L', 'G', 4981, 911, 8147, 'h', 7833, 'O', 'f'], ['p', 3865, 'M', 9373, 'x', 'Q', 'T', 'w', 7363, 9227, 7887, 'q', 1443, 'o', 7591, 'm', 6853, 'C', 'P', '6895', 'g', 'P', 'G', 'D', 'D', '931', 'b', '9935', 'S', 't', 'm', '2081', '265', '5539', '6091', 'n', 'Z', 'j', '7425', 'p', 'l', 'x', '8551', 'j', 'E', 'J', 'v', 6059, 'C', 'o', 2929, 'Z', 'Q', 7591, 3429, 2113, 7091, 857, 'h', 'S', 'K', 3191, 'e', 6899, 2933, 'M']

Ex Output:

6895, g, P, G, D, D, 931, b, 9935, S, t, m, 2081, 265, 5539, 6091, n, Z, j, 7425, p, l, x, 8551, j, E