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

Example Input: ['C', 9451, 'a', 'c', '1879', '7201', 'H', '3431', 'u', 17], ['t', 37, '1879', '7201', 'H', '3431', 'X', 7267, 'Z']
Example Output: 1879, 7201, H, 3431

Example Input: [435, 5991, 'L', 2351, 5221, 6381, 8655, 'U', 'q', 7163, 1771, 'c', 1181, 'v', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'u', 1721, 'W', 4519, 8045, 7749, 7163], ['z', 'Z', 9691, 'b', 'Y', 'A', 'a', 'q', 7549, 'm', 'x', 's', 'b', 5655, 2087, 'f', 'o', 8235, 1383, 'h', 'O', 7531, 'T', 2283, 'r', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'P', 4935, 7767, 4325, 755]
Example Output: 4831, 8155, D, 3079, 1677, r, 2713, k, 9587, 8141, 3037, 21, 9135, 9197, 3459, P, 915, s, 5539, h, 599, 9937, o, C, 1637, 8921

Example Input: ['E', 'N', 3377, 'g', 2413, 1185, 1265, 'u', 'O', 83, 'J', 8585, 7247, 'C', '5587', '3639', '8067', 'r', '2505', 'k', '5711', 'F', '627', '3157', '5139', 'n', 'P', '5697', 'N', '7525', '1545', 'w', 1323, 'y', 'l', 9331, 4579, 9625, 'j', 'Q'], [3289, 5107, 4535, 'p', 5897, 'D', '5587', '3639', '8067', 'r', '2505', 'k', '5711', 'F', '627', '3157', '5139', 'n', 'P', '5697', 'N', '7525', '1545', 'p', 1465, 8115, 5421, 9313, 665, 4197, 'g']
Example Output:
5587, 3639, 8067, r, 2505, k, 5711, F, 627, 3157, 5139, n, P, 5697, N, 7525, 1545