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

Ex Input:
['V', 9605, '383', 'W', 'r', '2107', '375', '5329', '1973', 'e', '6041', 'b', '7285', 'u', '8099', '2721', '6361', '2135', '4997', 'x', 'G', 3653, 'F'], [2801, 2015, 5249, 'u', 'T', '383', 'W', 'r', '2107', '375', '5329', '1973', 'e', '6041', 'b', '7285', 'u', '8099', '2721', '6361', '2135', '4997', 'N', 'c', 'h']

Ex Output:
383, W, r, 2107, 375, 5329, 1973, e, 6041, b, 7285, u, 8099, 2721, 6361, 2135, 4997


Ex Input:
[6233, 489, 6117, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'Q', 4171], ['G', 9467, 331, 9967, '5201', 'J', 'A', '3023', 'W', '791', '8263', 'm', 'w', 'q', '8873', 'B', '4945', '25', 'v', '6679', '3217', 'Q', '9509', 'V', 'o', 'a', 'P', 'a', 'C', 'N', 'R', 'l', 'l', 'j', 'N', 8161, 3729, 'F', 'r', 'B']

Ex Output:
5201, J, A, 3023, W, 791, 8263, m, w, q, 8873, B, 4945, 25, v, 6679, 3217, Q, 9509, V


Ex Input:
[2413, 'l', 'o', 9687, 3939, 6935, '7821', '9179', '8181', 'K', '4993', '4813', 'x', 'A', 'O', '2477', 'b', 'H', 'I', 'z', 'I'], [4625, 6943, 'e', 'B', 'p', 'r', 'y', '7821', '9179', '8181', 'K', '4993', '4813', 'x', 'A', 'O', '2477', 'b', 'H', 'I', 'G', 'L', 8247, 'N', 8965, 8763, 'N', 'p', 7181, 'A', 'J', 'W']

Ex Output:

7821, 9179, 8181, K, 4993, 4813, x, A, O, 2477, b, H, I