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

Example Input: ['X', 4261, 'm', 7859, 4443, 287, 7605, 'X', 'z', 6017, 2097, 2447, 8915, 4657, 375, 81, 'I', 'C', 'T', 7455, 7461, 'W', 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'D', 2439, 'Q', 'l', 'D', 3245], ['J', 'o', 3361, 8709, 8719, 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'g', 'r', 4351, 'F', 2243, 8191, 5111, 6683, 'Y', 3647, 't', 'f', 2885, 5435, 7467, 'S', 9159, 8145, 'H', 'z']
Example Output: e, n, O, 1627, 5687, 421, 1005, 2703, 2689, 2227, 6679, 5031, y, n, 2949, j, 7753, 1135, A, t, b, x, B

Example Input: ['c', 'N', 9495, 305, 1779, 7447, 8519, 2777, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'A', 'p', 'k', 'h', 'A', 7013, 509, 'G'], ['V', 2467, 9505, '2205', '2411', '4203', 'g', 'V', '8037', 'h', '5963', 'L', '715', 'W', 4557, 's', 4431]
Example Output: 2205, 2411, 4203, g, V, 8037, h, 5963, L, 715

Example Input: ['i', 8511, 'F', 'l', 'S', '3269', 'q', '8097', 'z', '9515', '9929', '7775', '6719', '2889', 'F', 'X', 'M', 'k', 'j', 2587, 3247, 7081, 'p'], [9047, 4589, 'A', 5525, 'T', 'a', 4361, 'I', 'g', 't', 8343, 7517, 'R', 'F', 'l', 'S', '3269', 'q', '8097', 'z', '9515', '9929', '7775', '6719', '2889', 'F', 'X', 'X', 'n', 9725, 3671, 'd', 'h', 1887, 'W', 4057, 455, 9111, 4519, 6423]
Example Output:
F, l, S, 3269, q, 8097, z, 9515, 9929, 7775, 6719, 2889, F, X