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: ['t', 845, 'T', '5285', '7837', 'N', 6717], [7211, 7903, 'U', 'T', '5285', '7837', 'D', 'U', 'R']

A: T, 5285, 7837
****
Q: [8413, 't', '1703', 'Q', 'C', 'V', '969', '8495', 'm', '2121', '8857', 'G', 'E', 'F', 9707, 5097, 4837, 7881], ['E', 4731, '1703', 'Q', 'C', 'V', '969', '8495', 'm', '2121', '8857', 'G', 'W', 6565, 'x', 'w', 5733, 4109, 's', 'g', 2469, 7399]

A:
1703, Q, C, V, 969, 8495, m, 2121, 8857, G
****