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

Input: Consider Input: ['m', 'J', 'X', '8931', 'u', 'm'], ['V', 3299, 'X', '8931', 'Z', 6965]

Output: X, 8931

Input: Consider 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']

Output: W, 8579, 5823, j, o, A, x, 9525, 6535, 7653, r, 7807, o, h, 5139, 3941, T

Input: Consider Input: ['Q', 1445, 'V', 'd', 'r', '647', 'C', '4917', '2819', 'R', 'Y', '2651', 'E', '1517', 'm', '3721', 'c', 'a', '4211', '547', '5067', '585', '145', '4609', '865', '3373', 'o', '1445', '7981', 'N', 'r', 5419, 8681, 3909, 6479, 'x', 1073, 'S', 'M', 'j', 'j', 'f', 'D'], ['p', 'p', 'R', 'T', 'V', 'd', 'r', '647', 'C', '4917', '2819', 'R', 'Y', '2651', 'E', '1517', 'm', '3721', 'c', 'a', '4211', '547', '5067', '585', '145', '4609', '865', '3373', 'o', '1445', '7981', 'c', 'Q', 'e', 'z', 291, 'Q', 'U', 6135, 'y', 9185, 9165, 'E']
Output: V, d, r, 647, C, 4917, 2819, R, Y, 2651, E, 1517, m, 3721, c, a, 4211, 547, 5067, 585, 145, 4609, 865, 3373, o, 1445, 7981