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

Input: Consider Input: ['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']

Output: 4623, M, d, 5977, 7669, 8583, 2455, D, j, c

Input: Consider Input: [9881, 'K', 8523, 'W', 'L', 229, 's', 3, 5031, 'e', 3321, 3927, 10005, 'J', 'j', '3759', 'l', 'q', 's', '5835', 'Y', '9337', '255', '2981', 'V', '7969', 'L', 'P', 'v', '6825', '1201', 'A', 'E', 'C', 'A', '1835', 'z', 'U', '5989', 'T', 'C', 'k', 3761, 'e', 'M', 's', 1391, 1497, 477, 8659, 'f', 1199, 6967, 5515, 'e', 5617, 5297, 8857, 8823], ['N', 9917, 'V', 'I', 7539, 'v', 7835, 't', 'h', 'j', '3759', 'l', 'q', 's', '5835', 'Y', '9337', '255', '2981', 'V', '7969', 'L', 'P', 'v', '6825', '1201', 'A', 'E', 'C', 'A', '1835', 'z', 'U', '5989', 'T', 'M', 7209, 1037]

Output: j, 3759, l, q, s, 5835, Y, 9337, 255, 2981, V, 7969, L, P, v, 6825, 1201, A, E, C, A, 1835, z, U, 5989, T

Input: Consider Input: [3825, 'c', 'x', '4367', 'o', 'p', 'C', 'c', 'P', '3111', 'E', 'F', '4677', '7107', 'w', 'u', '7531', 'Q', '2529', 'F', '6317', '3675', '1553', 's', 'o', 577, 'K', 1909, 5787, 'f', 3815, 7397, 'm'], ['D', 'o', 5421, 8899, 'a', 8277, 'O', 'k', 2919, 'T', 375, 'Z', 9525, 'A', 'u', 85, 'N', '4367', 'o', 'p', 'C', 'c', 'P', '3111', 'E', 'F', '4677', '7107', 'w', 'u', '7531', 'Q', '2529', 'F', '6317', '3675', '1553', 'c', 'E', 5397, 'z', 't', 9751, 2405, 6657, 'I', 't', 3611, 'g', 4067, 1885, 'P', 1865]
Output: 4367, o, p, C, c, P, 3111, E, F, 4677, 7107, w, u, 7531, Q, 2529, F, 6317, 3675, 1553