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

Ex Input:
['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]

Ex Output:
8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163


Ex Input:
[7231, 2153, '3257', '3693', 'P', 3291], [1543, 6411, '3257', '3693', 'G', 'k']

Ex Output:
3257, 3693


Ex Input:
['Z', 'R', 'y', 'N', 'c', 8139, 'D', 'Z', '4063', 'Z', 's', 'B', '5567', 'M', '4415', '4809', '8319', 'u', '8685', 'v', 'B', '2697', 'c', '4699', '1325', '1385', '1337', 'a', 'y', 'q', 1057, 'V', 2579, 2437, 'q', 'H', 'S', 4199, 'd', 6651, 'i', 'w', 'n', 'S', 6377, 9453], [125, 'g', 'l', 9091, 7767, 6575, 8765, 'x', 6769, 6651, 'U', 'D', 'Z', '4063', 'Z', 's', 'B', '5567', 'M', '4415', '4809', '8319', 'u', '8685', 'v', 'B', '2697', 'c', '4699', '1325', '1385', '1337', 'F', 'M', 8945, 5235, 6527, 3727, 6889, 4387, 3347]

Ex Output:

D, Z, 4063, Z, s, B, 5567, M, 4415, 4809, 8319, u, 8685, v, B, 2697, c, 4699, 1325, 1385, 1337