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

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: [225, 'D', 4905, 3065, 'e', 'I', 'V', 3599, 'D', 5851, 2675, 4601, 7721, 'B', 'W', '8579', '5823', 'j', 'o', 'A', 'x', '9525', '6535', '7653', 'r', '7807', 'o', 'h', '5139', '3941', 'T', 'U', 2673, 6825, 'r', 3045, 5503, 'L', 'y', 7333, 5693], [4873, 9897, 2905, 9917, 'Q', 7565, 'w', 6631, 3015, 'n', 's', 't', 9913, 'Q', 'W', '8579', '5823', 'j', 'o', 'A', 'x', '9525', '6535', '7653', 'r', '7807', 'o', 'h', '5139', '3941', 'T', 'p', 8733, 'o', 2341, 777, 'q', 's']
Example Output: W, 8579, 5823, j, o, A, x, 9525, 6535, 7653, r, 7807, o, h, 5139, 3941, T

Example Input: [1541, 2847, 9621, 'D', 8413, 'h', '7623', 'K', 'i', '5411', '9329', 'S', 'r', '5825', '2597', '3003', 'V', '4817', 'G', '8783', '3433', '611', '4895', 'k', '7703', '5545', '7613', 'L', 'Q', 'T', 'Q', 'g'], [6919, 1673, 'c', 7789, 553, 'T', 'Y', 15, 9941, 'l', 8187, 'G', '7623', 'K', 'i', '5411', '9329', 'S', 'r', '5825', '2597', '3003', 'V', '4817', 'G', '8783', '3433', '611', '4895', 'k', '7703', '5545', '7613', 'L', 'H', 597, 'c']
Example Output:
7623, K, i, 5411, 9329, S, r, 5825, 2597, 3003, V, 4817, G, 8783, 3433, 611, 4895, k, 7703, 5545, 7613, L