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

Ex Input:
[1373, 'R', 'U', 5661, 'g', 'q', 'e', 'v', 'E', 'Q', 'J', '8395', 'o', 4093], ['K', 4843, 'N', 'e', 'v', 'E', 'Q', 'J', '8395', 'V', 3155, 'V', 'H', 'X', 'C']

Ex Output:
e, v, E, Q, J, 8395


Ex Input:
[7577, 'i', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'Z', 11, 6915, 'n', 'j', 113, 6505, 6281, 2205], ['Q', 'V', 'A', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'J', 'c', 5873, 1693]

Ex Output:
8411, N, 4691, 3661, 9511, T, v, D, H, A, 6551, v, 605, 2753, 2475, N, S, z, 9773, n


Ex Input:
[3535, 10023, 'g', 'B', 'E', 'p', 'K', 'y', 1187, 5353, 8779], [1169, 981, 'B', 'E', 'p', 'K', 'D', 'h', 4145, 'h']

Ex Output:

B, E, p, K