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

Q: ['m', 'J', 'X', '8931', 'u', 'm'], ['V', 3299, 'X', '8931', 'Z', 6965]

A: X, 8931
****
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: [9025, 6449, '2259', '4299', '223', '3857', 'S', '8343', 'y', 'J', '9741', '4803', 'L', '8649', 'i', 'F', 'j', 'L', 2875, 2265, 'R', 'h', 4141, 'Z', 'Z', 'M'], ['R', 4401, 5311, 'N', 'E', 9821, '2259', '4299', '223', '3857', 'S', '8343', 'y', 'J', '9741', '4803', 'L', '8649', 'j', 8249, 8415]

A:
2259, 4299, 223, 3857, S, 8343, y, J, 9741, 4803, L, 8649
****