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

Ex Input:
[3615, 1385, 4267, 'z', 'F', 7195, 'U', 2665, '1263', 'O', '3761', '2545', 'K', 'E', 't', '5511', '6241', 'Q', '9683', '7135', '5469', '5269', '3021', '9499', 'C', 'C', 'y', 'm', 1901, 3491, 'i', 's', 2085, 'H', 'z', 5585, 8785, 6783, 'r'], ['g', 'E', 'Z', 1405, 7081, 'z', 363, 'p', 4559, 'C', 'F', 'B', '1263', 'O', '3761', '2545', 'K', 'E', 't', '5511', '6241', 'Q', '9683', '7135', '5469', '5269', '3021', '9499', 'C', 'C', 'n', 8931, 1253, 7959, 'w', 6185, 'm', 'o', 7699, 9577, 'u', 2061, 'i', 'm', 1689, 'j', 'i']

Ex Output:
1263, O, 3761, 2545, K, E, t, 5511, 6241, Q, 9683, 7135, 5469, 5269, 3021, 9499, C, C


Ex Input:
['T', 5369, 1173, 6093, 'n', 4575, 'h', 7975, 2921, 1655, 'r', 4521, 8665, 1933, 4703, 'N', 7921, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'W', 'G', 9031, 8561, 6175, 5329, 5317, 'd'], [7417, 'P', 'q', 'n', 7037, '6499', '3029', '5963', 'P', '9959', '2345', '1265', '8097', '4181', 'r', 't', 'X', 's', 'l', 'p', 'F', '1107', '8395', 'A', '1351', 'G', 'G', 'G', '3113', 'q', 'l', 4415, 'A', 'o']

Ex Output:
6499, 3029, 5963, P, 9959, 2345, 1265, 8097, 4181, r, t, X, s, l, p, F, 1107, 8395, A, 1351, G, G, G, 3113, q


Ex Input:
['a', 3875, '2641', 'V', '5239', '9059', 'A', 'U'], ['B', 5185, 't', 'K', '2641', 'V', '5239', '9059', 'W', 7917, 'j']

Ex Output:

2641, V, 5239, 9059