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

Ex Input:
['N', 'V', 'O', 'x', 1311, 'v', 'd', 8727, 6043, '5765', '7781', '5561', 'S', 'b', 'F', '7789', '6181', 'N', '6861', '9347', '6701', '3981', '4855', 'B', '7527', 'X', 'v', 'D', '9489', 'a', 'T', 3027, 'l', 5595], ['r', 'K', 'R', 6379, 'o', 'w', '5765', '7781', '5561', 'S', 'b', 'F', '7789', '6181', 'N', '6861', '9347', '6701', '3981', '4855', 'B', '7527', 'X', 'v', 'D', '9489', 'x', 'q', 'p', 'Q', 'D', 'B', 9451, 'w', 2131]

Ex Output:
5765, 7781, 5561, S, b, F, 7789, 6181, N, 6861, 9347, 6701, 3981, 4855, B, 7527, X, v, D, 9489


Ex Input:
[7045, 'e', 3545, 6563, '5913', 'X', '5591', 'o', 'T', 'b'], [145, 'm', 'I', 'F', '5913', 'X', '5591', 'o', 'F', 6499, 3777]

Ex Output:
5913, X, 5591, o


Ex Input:
[1367, 'N', 'q', 'Q', 2701, 'D', 6735, 793, 'n', 'U', 'U', 4041, 3857, 'O', 'L', 'V', 'e', 'a', '3649', '3243', '9127', '5853', '5053', 'G', '7401', '8945', 'f', 'f', 'E', 'F', 'x', 'd', 'R', 6013, 'j', 9899, 'Y', 6663, 'b', 'G', 2031, 5393, 1033, 'M', 2199], [6663, 8865, 'F', 6689, 'N', 9419, 't', 4215, 3047, 'Z', 'a', 'V', 'e', 'a', '3649', '3243', '9127', '5853', '5053', 'G', '7401', '8945', 'f', 'f', 'E', 'F', 'x', 'd', 'M', 3267, 6817, 5935]

Ex Output:

V, e, a, 3649, 3243, 9127, 5853, 5053, G, 7401, 8945, f, f, E, F, x, d