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

Example Input: [7937, 'O', 't', 'q', 'A', '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'P', 9541, 'K', 'P', 'I', 'd', 2929, 3037, 's', 'o'], [5771, 'e', 6539, 3301, 7501, 1959, 2737, 'W', 347, 'S', 'A', 7789, 1561, 'G', 's', 1703, '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'C', 4525, 2207, 8867, 'D', 'c', 9997, 'f', 'E', 'd', 2503, 527, 's', 'Q', 'Y', 'R', 4405, 'a']
Example Output: 5875, 3561, 2131, L, 9023, A, 4107, Y, h, A, 8649, 6349, S, 1841, X, Y, 8859, 2327, x, 6845

Example Input: ['q', 'O', 7981, 'U', 'V', 's', 't', 6911, 'i', 'K', 'O', 'F', 1359, 3839, 'g', '2555', 'H', '9877', 'Y', '3433', '5661', '2061', 'j', 'j', '2413', '3795', 'c', '6529', 'F', '1099', 'f', 'U', 'b'], ['V', 'D', '2555', 'H', '9877', 'Y', '3433', '5661', '2061', 'j', 'j', '2413', '3795', 'c', '6529', 'F', '1099', 'U', 'm', 8601, 881, 1009, 1759, 5669, 8581, 'm', 8715, 8913]
Example Output: 2555, H, 9877, Y, 3433, 5661, 2061, j, j, 2413, 3795, c, 6529, F, 1099

Example Input: ['y', 9685, 'q', 7345, 'K', '2181', 'q', '8709', 'u', 'D', 'x', 'c', 'a', '5555', 'b', '6847', 'V', '1093', 'j', 'H', 2233, 2493, 'M', 9827, 'A', 'u', 4509, 79, 'D', 'P', 3741, 'q'], [8679, 'D', 5615, '2181', 'q', '8709', 'u', 'D', 'x', 'c', 'a', '5555', 'b', '6847', 'V', '1093', 'j', 'B', 'a', 'w', 5101, 'L']
Example Output:
2181, q, 8709, u, D, x, c, a, 5555, b, 6847, V, 1093, j