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

Example Input: ['o', 'k', '8037', '2095', 'E', 'l'], [4673, 'J', '8037', '2095', 't', 'F']
Example Output: 8037, 2095

Example Input: [7615, 3985, 'o', 1073, 5157, 5347, '7031', '7637', '6703', '7735', '8445', '9373', 'f', 'x'], [1247, 'x', 5707, 3649, 'g', 'z', '7031', '7637', '6703', '7735', '8445', '9373', 'h', 6317, 'T', 'M', 5703, 'h']
Example Output: 7031, 7637, 6703, 7735, 8445, 9373

Example Input: [497, 'E', 'Z', 'W', 'H', 'M', 4513, 4059, 9027, 'r', 'c', 6613, 'i', 'L', 7853, '6105', '7931', '2757', '3963', 'd', 'f', '5959', 'U', '1343', '2075', 'E', 'k', 'b', '7461', 'b', '9911', 'F', '8299', 'r', 'b', 'i', 'c', '9623', 'w', 't', 'n', 's', '7653', '5925', '8451', 'H', 8687, 'J'], ['o', 'G', 'X', 'Z', 251, 'r', 'u', 349, 2013, 'j', 'p', 'I', '6105', '7931', '2757', '3963', 'd', 'f', '5959', 'U', '1343', '2075', 'E', 'k', 'b', '7461', 'b', '9911', 'F', '8299', 'r', 'b', 'i', 'c', '9623', 'w', 't', 'n', 's', '7653', '5925', '8451', 'p', 419, 1809, 8395]
Example Output:
6105, 7931, 2757, 3963, d, f, 5959, U, 1343, 2075, E, k, b, 7461, b, 9911, F, 8299, r, b, i, c, 9623, w, t, n, s, 7653, 5925, 8451