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

Example Input: ['z', 'L', 'e', 3279, 's', 'U', 'p', '2885', 'w', 'x', 7713], [3907, 'e', 's', 'U', 'p', '2885', 'w', 'F', 'x', 'v', 5319]
Example Output: s, U, p, 2885, w

Example Input: ['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]
Example Output: 8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163

Example Input: [2661, 'D', 5163, 9223, 'K', 'P', 9291, 'U', 't', 6669, 'S', 't', '8743', 'C', 'y', '8737', 'T', 'g', '8009', '7391', 'K', '9389', 'w', 'A', '577', 'N', 'e', 4897, 589, 3737, 'Q'], ['E', 'w', 'S', 't', '8743', 'C', 'y', '8737', 'T', 'g', '8009', '7391', 'K', '9389', 'w', 'A', '577', 'N', 'm', 'L', 7523, 'k', 'F', 'Y']
Example Output:
S, t, 8743, C, y, 8737, T, g, 8009, 7391, K, 9389, w, A, 577, N