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

Example Input: ['s', 1831, 3659, 885, 3421, 'S', 9363, 'p', 'Q', 1071, 7201, 6077, 6535, 'o', 3137, 'M', 'D', 'G', '427', 'U', '8051', '7119', '4521', 'y', '2607', '7041', '4119', '9611', '555', 'B', '9969', 'x', 'E', '475', '4687', '6641', 'H', '2071', 'I', 'G', 9115, 'S', 5257, 'X', 3061, 1941, 1875, 5597, 2759, 8795, 6655, 5867, 'M', 6725, 5417, 2145, 'a', 1387, 'h'], [1397, 'J', 'g', 'M', 'D', 'G', '427', 'U', '8051', '7119', '4521', 'y', '2607', '7041', '4119', '9611', '555', 'B', '9969', 'x', 'E', '475', '4687', '6641', 'H', '2071', 'R', 1233, 'J', 'M', 8625, 't', 'S', 4605, 5553, 'm', 5307, 'V', 4147]
Example Output: M, D, G, 427, U, 8051, 7119, 4521, y, 2607, 7041, 4119, 9611, 555, B, 9969, x, E, 475, 4687, 6641, H, 2071

Example Input: ['w', 'i', 5729, 'G', 8651, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'R', 'A', 5949, 8347, 9169, 'N', 9753, 4353, 9447, 5747, 4347, 'f', 8247, 'D', 'y'], ['b', 'd', 237, 'y', 9735, 'M', 'j', 'f', 9789, 'x', 4217, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'E', 'e', 4021, 7065, 1651, 'n']
Example Output: 1845, a, 715, O, 3649, w, 8821, 2545, 1011, u, 895, 4133, n, 3759, w, X

Example Input: [5399, 4119, 5953, '9107', 'v', '2941', '7177', '5877', '325', 'y', '6623', '4857', 'x', '9565', '6801', 'm', '6039', '5943', 'm', '3923', '7391', 'H', 1981, 'F', 'h', 9767, 8763, 'X', 2925, 'C', 'K', 'H', 'A', 'h'], ['T', 'k', 'v', 7693, 'w', 7235, 'w', 'B', 'B', '9107', 'v', '2941', '7177', '5877', '325', 'y', '6623', '4857', 'x', '9565', '6801', 'm', '6039', '5943', 'm', '3923', '7391', 'N', 'k', 'h', 'q', 'A', 'X', 'v', 1299, 'U', 2947, 'k']
Example Output:
9107, v, 2941, 7177, 5877, 325, y, 6623, 4857, x, 9565, 6801, m, 6039, 5943, m, 3923, 7391