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

Ex Input:
[4817, 'A', '3155', 'W', 'm', 4061], [7701, 'P', '3155', 'W', 't', 'J']

Ex Output:
3155, W


Ex Input:
['C', 573, 'f', 1193, 7823, '1533', 'F', 'B', 'w', 'y', '3525', 't', '7201', 'h', 'f', 'w', 'Q', 'U', '1569', 'm', '9675', '1053', '4611', 'I', 3559, 5459, 2961, 'j', 7205, 5403, 8753, 2855, 55, 9273, 'e', 'G', 9505, 6191], [6441, 'L', 'r', 6289, 'P', 'r', 9227, 8285, 'Z', '1533', 'F', 'B', 'w', 'y', '3525', 't', '7201', 'h', 'f', 'w', 'Q', 'U', '1569', 'm', '9675', '1053', '4611', 'F', 'A', 'h', 'm', 5711, 'b', 933, 1093, 'S', 'b', 'x']

Ex Output:
1533, F, B, w, y, 3525, t, 7201, h, f, w, Q, U, 1569, m, 9675, 1053, 4611


Ex Input:
['V', 'c', 3991, 'O', 8587, 'B', 'b', 'D', 1671, 'H', 'T', 'y', 8671, 'R', 'H', '259', '4791', '3545', 'I', '3959', 'f', 'S', 'r', 'w', '7851', 'k', 'f', '3579', '75', '4689', '839', '8023', '4931', 'p', 'G', 's', 'd', 'r', 6533, 6601, 'Q', 3389, 6015, 'c', 'H', 3489, 'N', 6067, 'g', 'r', 913, 3387, 'q'], [1639, 'j', 2705, 'o', 'U', 8879, 6999, 'r', 875, 481, 2383, 'a', 'H', 7089, 3621, 'o', 'R', 'H', '259', '4791', '3545', 'I', '3959', 'f', 'S', 'r', 'w', '7851', 'k', 'f', '3579', '75', '4689', '839', '8023', '4931', 'p', 'G', 's', 'N', 5829, 'T', 'B', 'H', 's', 3907, 'D', 'h', 6357, 'r', 'm', 9165, 'x', 585, 8693]

Ex Output:

R, H, 259, 4791, 3545, I, 3959, f, S, r, w, 7851, k, f, 3579, 75, 4689, 839, 8023, 4931, p, G, s