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

Example Input: [7675, 6429, 'Y', 'J', '6533', 'o', '47', '6333', 'W', 'J'], [6609, 2621, '6533', 'o', '47', '6333', 'm', 'k', 2605, 'd']
Example Output: 6533, o, 47, 6333

Example Input: ['r', 7309, 'a', 5957, 2551, 'c', '4533', 'L', '9417', 'm', '7989', '4409', 'a', 'M', 'h', 4163, 'n'], ['q', 4457, 'D', 2623, 't', 'F', 'c', '4533', 'L', '9417', 'm', '7989', '4409', 'u', 2719, 'G']
Example Output: c, 4533, L, 9417, m, 7989, 4409

Example Input: [7021, 'P', 3911, 'o', 'j', '4499', '2991', 'U', 'u', '2363', '9419', '4941', 'Y', 'c', '3487', 'k', '4659', 'a', '9381', '223', '4921', '2225', 'D', '2173', 'f', 'Q', '5263', '2455', '9245', '8629', '9169', '3013', 'j', 'J', 'o', 9339, 'm', 7241, 4877, 'j'], ['f', 'n', 3937, 9635, 7363, 6305, 507, 7769, 2937, 5547, 2911, 'j', '4499', '2991', 'U', 'u', '2363', '9419', '4941', 'Y', 'c', '3487', 'k', '4659', 'a', '9381', '223', '4921', '2225', 'D', '2173', 'f', 'Q', '5263', '2455', '9245', '8629', '9169', '3013', 'j', 'R', 's', 2129, 'c', 'k', 1807, 2169, 4037, 'S', 'E', 7061, 385, 'l', 'M', 'd', 'M', 4337, 4243, 21, 9017, 'Z', 6213, 177, 'P']
Example Output:
j, 4499, 2991, U, u, 2363, 9419, 4941, Y, c, 3487, k, 4659, a, 9381, 223, 4921, 2225, D, 2173, f, Q, 5263, 2455, 9245, 8629, 9169, 3013, j