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

Q: [3277, 9365, 4973, 'q', 'S', 6337, 3661, 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'l', 'w', 5939, 6533, 'h', 1877, 10017, 'q'], ['L', 8235, 'n', 'Q', 'J', 'c', '3205', '2707', '1869', '1285', 'z', 'c', 'O', 1591, 'C', 2553, 2613, 'E', 3577, 'u']

A: Q, J, c, 3205, 2707, 1869, 1285, z, c
****
Q: [875, 'U', 'g', 'q', 'H', 2847, 'f', '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'e', 'n', 5885, 'w', 3345, 4693, 'H', 7789, 'y', 'j', 'e'], ['V', 'j', 6713, 2923, 'y', 6205, 'm', 5961, 9023, '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'y', 7427, 5987]

A: 6811, B, 7549, K, r, V, x, P, X, 2469, 3845, W
****
Q: ['H', 3635, 'N', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'B', 9737, 'n'], ['U', 2701, 'e', 'z', 'd', 3631, 'E', 'V', 'c', '2297', 'U', 'W', 'j', '7741', 'u', '2283', 'c', 'F', 'b']

A:
c, 2297, U, W, j, 7741, u, 2283
****