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

Ex Input:
['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]

Ex Output:
1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689


Ex Input:
[5705, 4661, 4953, '6779', 'z', 'I', 'f', 'm', '3721', 'U', 'F', '2069', '1831', 'H', '2683', '139', '3889', '1427', '3339', 'T', '9517', '9753', '9041', '7995', '8657', 'q', '4753', '2789', 'C', 'a', 'W', 'a', 'R', 6843, 'D'], ['i', 475, 3657, 'k', 'P', 3397, 7147, 8055, 8965, 'X', 'g', 5421, 'e', 6979, 'P', 'G', 'c', 489, 9409, 9473, 'y', 6959, '6779', 'z', 'I', 'f', 'm', '3721', 'U', 'F', '2069', '1831', 'H', '2683', '139', '3889', '1427', '3339', 'T', '9517', '9753', '9041', '7995', '8657', 'q', '4753', '2789', 'C', 'a', 'h', 'c', 'g', 'C', 4493, 'R', 6359, 3315, 8949]

Ex Output:
6779, z, I, f, m, 3721, U, F, 2069, 1831, H, 2683, 139, 3889, 1427, 3339, T, 9517, 9753, 9041, 7995, 8657, q, 4753, 2789, C, a


Ex Input:
['J', 'k', 6483, 5537, 'f', 5721, 7633, '1903', 'J', 'Z', '2029', '437', 's', '8887', '9303', 'j', '6875', 'j', 'I', 9969, 2541], [4023, 'B', 9561, 'w', 'S', 1769, 'M', 'N', 'H', '1903', 'J', 'Z', '2029', '437', 's', '8887', '9303', 'j', '6875', 'C', 4891, 353, 9313, 'X', 'r', 1989]

Ex Output:

1903, J, Z, 2029, 437, s, 8887, 9303, j, 6875