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

Q: ['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]

A: 1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689
****
Q: ['H', 'u', 't', 'q', 'a', 9875, 'x', 'H', 'X', 8321, 1857, 't', 'N', 'h', 'q', 'U', 'n', 'k', 't', 'm', 'L', '2313', '5885', 'W', '9357', 'R', '2155', 'g', 'E', 'G', '9247', '8349', '1291', 's', '3501', 's', '9777', '9965', '6443', 'h', 'n', 4233, 'u', 'T', 6201, 9687], ['k', 5835, 2739, 'b', 1249, 'T', 8059, 6331, 3427, 417, 'N', 'h', 'q', 'U', 'n', 'k', 't', 'm', 'L', '2313', '5885', 'W', '9357', 'R', '2155', 'g', 'E', 'G', '9247', '8349', '1291', 's', '3501', 's', '9777', '9965', '6443', 'h', 'z', 'j', 9683]

A: N, h, q, U, n, k, t, m, L, 2313, 5885, W, 9357, R, 2155, g, E, G, 9247, 8349, 1291, s, 3501, s, 9777, 9965, 6443, h
****
Q: ['P', 'F', 6773, 'A', 'n', 4815, 9621, 315, 3595, 7715, 4515, '9003', '5143', '8293', '9851', 'x', '9723', 'A', 'w', '1767', '1569', 'Z', 'f', 'b', 6769, 'm', 4559, 4115], ['g', 'Y', 'o', 2061, 739, 'F', 5903, 4605, 'V', '9003', '5143', '8293', '9851', 'x', '9723', 'A', 'w', '1767', '1569', 'Z', 'B', 9135]

A:
9003, 5143, 8293, 9851, x, 9723, A, w, 1767, 1569, Z
****