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

Example Input: ['i', 2711, 6903, 1929, 2863, 'b', 5091, 'C', 'g', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'M', 5859, 'C', 7687, 'N', 1227, 5881, 8139, 'L', 'u', 1299], [4083, 2455, 'q', 'L', 3689, 'l', 'd', 9587, 'I', 'N', 'O', '3689', 'B', '6851', '605', '811', '8847', 'a', '3649', '5787', 'B', '6611', 'S', 'V', 7521, 'F', 3951, 'm', 'E']
Example Output: O, 3689, B, 6851, 605, 811, 8847, a, 3649, 5787, B, 6611, S

Example Input: [8903, 3375, 'w', 1053, 3561, 'm', 'n', 525, 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'k', 6765, 'Z', 10011, 'r', 983, 'm', 1725, 4499, 'b', 'w', 4247, 3031, 2341, 'K', 5849, 8609, 'b', 'Q', 9443], [4217, 7417, 7593, 7021, 'x', 'n', 'w', 'G', 'p', 1559, 5043, 's', 'x', 1433, 'U', 6581, 'w', 5419, 'M', 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'n', 7429, 1747, 'f', 'Q', 7365, 'X', 'r', 'f', 1747, 'H', 'w', 7691, 'Y']
Example Output: X, 405, m, s, 1099, 2317, O, 2573, l, 3259, 4463, 9185, 3407, v, 9943, C, M, O, 3067, 2717, W, B, 5015, m, 6297, 301

Example Input: ['E', 'q', '2249', 'e', 'f', 'w', '3381', '2313', '2587', '2461', '9955', 'M', 'x', '191', 'E', '6437', '2015', 't', '7411', 'j', '9027', '7241', '3893', 'I', '6125', 'S', 'd', 'C', '1303', 'U', 8333, 8435, 'N', 3891, 3199, 8045, 'e', 'r', 7093, 941, 'R', 'o', 'd', 7857, 'W', 'R', 545, 1145], ['j', 'm', 7251, 4569, '2249', 'e', 'f', 'w', '3381', '2313', '2587', '2461', '9955', 'M', 'x', '191', 'E', '6437', '2015', 't', '7411', 'j', '9027', '7241', '3893', 'I', '6125', 'S', 'd', 'C', '1303', 'l', 6703, 't', 'w', 347, 'E', 1873, 1497, 3809, 7147, 'Q', 'h', 'X', 'n', 3331, 6739, 'E', 4767, 407, 'U']
Example Output:
2249, e, f, w, 3381, 2313, 2587, 2461, 9955, M, x, 191, E, 6437, 2015, t, 7411, j, 9027, 7241, 3893, I, 6125, S, d, C, 1303