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

Input: Consider Input: [6917, 7141, '3657', '9205', 'b', 'm', 'Q', 'g', 'q', 'l'], [1429, 7173, 3447, '3657', '9205', 'b', 'm', 'Q', 'U', 'f']

Output: 3657, 9205, b, m, Q

Input: Consider Input: ['K', 4691, 'I', '2495', '1015', 'L', '581', 'b', 9477], ['k', 2419, 'd', 'I', '2495', '1015', 'L', '581', 'r', 's', 6673, 5755]

Output: I, 2495, 1015, L, 581

Input: Consider Input: ['q', 'k', 'n', '8377', '3671', '4289', 'Y', '6971', 'j', '7537', 'c', 'z', '853', '9249', 'u', 'E', 'm', 4927, 3569, 'z', 'f', 8235, 8527, 1975, 989, 7905, 1155, 'y'], [7077, 'k', 2139, 6721, 'T', 6037, 'e', 'n', '8377', '3671', '4289', 'Y', '6971', 'j', '7537', 'c', 'z', '853', '9249', 'u', 'E', 'z', 7135, 'Y', 6401, 8079, 'B', 'j', 3051, 'o', 'S', 8495, 'O', 933, 7823]
Output: n, 8377, 3671, 4289, Y, 6971, j, 7537, c, z, 853, 9249, u, E