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

Example input: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example output: 8297, b
Example explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].
Q: [8375, 2925, 5961, 'u', 'k', 'V', 'P', 'z', 9905, 6053, 8203, 2927, 'y', 219, 5731, 6187, 'm', 'C', 7433, 4865, 2677, '8053', 'f', 'O', 'k', 'P', 'x', 'H', 'o', '5649', '3707', '3501', 'c', '8299', 'H', '7171', 'Y', '7217', 'p', '7251', '301', 'E', '939', 'r', 1823, 'j', 'n', 1123, 3137, 4711], [6575, 'N', 'p', 9871, 7829, 'i', 'v', 1989, 'u', 211, 959, 'M', 6737, 4493, 'N', 'D', 6037, 'u', '8053', 'f', 'O', 'k', 'P', 'x', 'H', 'o', '5649', '3707', '3501', 'c', '8299', 'H', '7171', 'Y', '7217', 'p', '7251', '301', 'E', '939', 'c', 'N', 957, 4341, 'D', 'c', 4253, 3013, 'N', 5041, 731, 8389, 'N', 3105, 'G', 835, 1803, 'Z', 'h', 2105, 3331]
A:
8053, f, O, k, P, x, H, o, 5649, 3707, 3501, c, 8299, H, 7171, Y, 7217, p, 7251, 301, E, 939