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

Ex Input:
[3277, 9365, 4973, 'q', 'S', 6337, 3661, 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'l', 'w', 5939, 6533, 'h', 1877, 10017, 'q'], ['L', 8235, 'n', 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'O', 1591, 'C', 2553, 2613, 'E', 3577, 'u']

Ex Output:
Q, J, c, 3205, 2707, 1869, 1285, z, c


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:
['n', 'l', 8169, 'y', 3199, '4735', '8247', 'L', '1231', 'p', 's', 'Z', 'u', 3397, 'R', 9413], [7587, 3533, '4735', '8247', 'L', '1231', 'p', 's', 'C', 9167, 9449, 'Z', 'I', 'T']

Ex Output:

4735, 8247, L, 1231, p, s