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

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:
['i', 'n', '7509', '7241', 'V', 'k', 205, 'H'], ['s', 4349, 7023, '7509', '7241', 'V', 'O', 't', 9237]

Ex Output:
7509, 7241, V


Ex Input:
['f', 9171, 5325, 6455, 'H', 'O', 8393, 3125, 'U', 'y', 9579, 3399, 'A', 6921, 1855, 4139, 'h', 2159, 3195, 'E', 'b', 6991, 'R', 4177, 4699, 'O', 'k', '463', 'O', '3473', '8089', '709', '7263', 'H', '9469', '2281', 'G', 'R', 'E', 'H', '455', '2611', 'F', 'o', 'h', '8067', 'F', '11', 'Y', '1099', 'U', 'w', 'D', '3399', '6159', 'D', 2457, 9769, 8463, 'd', 'u', 't', 1665, 2249, 1727, 1597, 2703, 5599, 4813, 'x', 4751, 9893, 't', 'e', 3421, 'N', 3929, 's', 'C', 'z'], [339, 8481, 4017, 3237, 6807, 'f', 'N', 'g', 5103, 6055, 'd', 'Y', 'j', 601, 'x', 'Z', 1233, 'I', 'n', 5773, 'G', 'u', 6291, 'r', 7815, 9419, 'O', 'k', '463', 'O', '3473', '8089', '709', '7263', 'H', '9469', '2281', 'G', 'R', 'E', 'H', '455', '2611', 'F', 'o', 'h', '8067', 'F', '11', 'Y', '1099', 'U', 'w', 'D', '3399', '6159', 'W', 6805, 7347, 'm', 'z', 4245, 585, 'I', 1717, 'p', 'L', 675, 6223, 9911]

Ex Output:

O, k, 463, O, 3473, 8089, 709, 7263, H, 9469, 2281, G, R, E, H, 455, 2611, F, o, h, 8067, F, 11, Y, 1099, U, w, D, 3399, 6159