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

Ex Input:
['K', 1657, '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'X', 'n', 3631, 'o', 'm'], ['P', 6249, 7565, 's', 1041, 'V', 'D', '5001', '8571', '2343', '9471', 'P', '6369', '9299', 'n', 'U', 'z', 2559, 5379, 6985, 6059]

Ex Output:
5001, 8571, 2343, 9471, P, 6369, 9299


Ex Input:
['z', 'F', 'H', 'E', 1495, 'u', 't', 'm', 'o', '1165', 'b', 75, 'B'], ['n', 'H', 'M', 'j', 3999, 'u', 't', 'm', 'o', '1165', 'r', 'x', 'W']

Ex Output:
u, t, m, o, 1165


Ex Input:
['j', 5211, 4831, 'm', 'R', 9423, 9279, 'b', 'c', 1219, 8439, 5707, 'L', 2363, 'K', 5973, 'G', 'Y', 'B', 3949, 'E', '9611', '4739', '6893', 'h', 'Q', 'E', 'v', 'A', 'u', 'K', 'o', '3553', 'P', '6415', '8573', '5191', '9395', 'h', '8679', 'G', '2381', 'D', 'b', '6219', '651', 'j', '1131', 'X', 'y', 2089, 3451, 5311, 'u', 4845, 'z', 'H'], ['A', 'I', 7377, 6449, 'Z', 'A', 6985, 'x', 5645, 9719, 7139, 8277, 3009, 757, 'L', 4823, 'D', 'N', 'p', 'F', 'X', 2685, 1755, 55, 'E', '9611', '4739', '6893', 'h', 'Q', 'E', 'v', 'A', 'u', 'K', 'o', '3553', 'P', '6415', '8573', '5191', '9395', 'h', '8679', 'G', '2381', 'D', 'b', '6219', '651', 'j', '1131', 'N', 'p', 5481, 'E', 'V', 'X', 1029, 8065, 'k', 1331]

Ex Output:

E, 9611, 4739, 6893, h, Q, E, v, A, u, K, o, 3553, P, 6415, 8573, 5191, 9395, h, 8679, G, 2381, D, b, 6219, 651, j, 1131