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

Ex Input:
['P', 6481, 'O', 6003, 1505, 'G', 3907, 'c', 5741, 3, '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'Z', 'P', 'i', 9259, 'T'], [3141, 4731, 4787, 6417, 8539, 3015, 3437, 6005, 'w', '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'k', 6421, 645, 6161, 'm']

Ex Output:
4963, 1225, 4331, 1287, v, 8479, y, 673, M, V, 8307, C, 7931, z


Ex Input:
[953, 'l', '1329', '527', '6257', 'v', '5461', 'F', 't', 3373, 'r'], ['v', 'P', '1329', '527', '6257', 'v', '5461', 'h', 5517, 'Z', 'y', 5061]

Ex Output:
1329, 527, 6257, v, 5461


Ex Input:
['T', 'x', 'X', 3015, 1617, 6929, 'a', 'e', 5301, 7095, 't', 2389, 'd', 'D', 2733, 3969, 2247, 'H', '3827', '5485', '2409', '2043', '1825', 'w', 'z', '6605', 'B', 'Z', '3923', 'U', '5811', 'E', 'o', 'F', '9721', '2709', 'e', 'r', '2049', '6413', 'X', '4437', 'O', 'y', 'G', 5037, 8063, 2297, 'g', 'H', 'o', 'Q', 'k', 'c', 4725, 'E'], ['g', 'G', 'N', 'u', 'g', 3253, 'q', '3827', '5485', '2409', '2043', '1825', 'w', 'z', '6605', 'B', 'Z', '3923', 'U', '5811', 'E', 'o', 'F', '9721', '2709', 'e', 'r', '2049', '6413', 'X', '4437', 'O', 'a', 6471, 8755, 't', 'c', 'J']

Ex Output:

3827, 5485, 2409, 2043, 1825, w, z, 6605, B, Z, 3923, U, 5811, E, o, F, 9721, 2709, e, r, 2049, 6413, X, 4437, O