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

Example Input: ['N', 'D', 'j', 8763, 8215, 'G', 'Z', 'v', 909, 'K', 'p', '3071', 'A', '8545', '3691', 'A', '5101', 'm', '9643', '8351', 'a', '4169', 'x', 'q', '8727', '9725', '4157', 'p', '3653', '3597', '1429', 'B', '1933', 'K', '3411', '1361', '9001', '4231', '8551', 'x', '6641', 'A', 4005, 'o', 8113, 'k', 1775, 3079, 8855, 'o', 'l', 255, 6343, 1891, 9015, 5959, 9905, 2355, 'w', 2921, 477, 'Y', 6563, 'm', 'n'], ['s', 6609, 3025, 'J', '3071', 'A', '8545', '3691', 'A', '5101', 'm', '9643', '8351', 'a', '4169', 'x', 'q', '8727', '9725', '4157', 'p', '3653', '3597', '1429', 'B', '1933', 'K', '3411', '1361', '9001', '4231', '8551', 'x', '6641', 'L', 'I', 1465, 'S', 'L', 9083, 9771, 8751, 'D', 'E', 2919, 'o', 2127, 3959]
Example Output: 3071, A, 8545, 3691, A, 5101, m, 9643, 8351, a, 4169, x, q, 8727, 9725, 4157, p, 3653, 3597, 1429, B, 1933, K, 3411, 1361, 9001, 4231, 8551, x, 6641

Example Input: ['s', 1853, 'h', 'T', 'f', 'N', 'c', 643, 8659, 'E', 'v', 'A', 't', 779, 'S', 'p', 'A', '9745', '2013', 'o', '9115', 'Y', 'f', 'l', '9683', '4447', 'G', 'W', '3807', '6689', '3789', '9207', '4683', 's', '6555', '7405', 'F', '7739', '3145', '8895', '2515', 'X', 1613, 't', 'Q', 747, 'F', 9819, 7747, 7059, 509, 1169, 'z', 9807, 4297, 7399, 7009, 'z', 'L', 3495, 'c', 'l', 'd', 'A'], ['C', 4481, 'H', 3327, 7321, '9745', '2013', 'o', '9115', 'Y', 'f', 'l', '9683', '4447', 'G', 'W', '3807', '6689', '3789', '9207', '4683', 's', '6555', '7405', 'F', '7739', '3145', '8895', '2515', 'F', 'o', 'O', 2361, 9341]
Example Output: 9745, 2013, o, 9115, Y, f, l, 9683, 4447, G, W, 3807, 6689, 3789, 9207, 4683, s, 6555, 7405, F, 7739, 3145, 8895, 2515

Example Input: [7685, 'H', 'c', 'Z', '7275', 'T', '2639', '1871', 'J', 'H', 'b', 'p', 857, 9031], ['F', 2449, '7275', 'T', '2639', '1871', 'J', 'H', 'b', 'Z', 'P', 3473]
Example Output:
7275, T, 2639, 1871, J, H, b