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

Q: ['w', 'i', 5729, 'G', 8651, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'R', 'A', 5949, 8347, 9169, 'N', 9753, 4353, 9447, 5747, 4347, 'f', 8247, 'D', 'y'], ['b', 'd', 237, 'y', 9735, 'M', 'j', 'f', 9789, 'x', 4217, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'E', 'e', 4021, 7065, 1651, 'n']

A: 1845, a, 715, O, 3649, w, 8821, 2545, 1011, u, 895, 4133, n, 3759, w, X
****
Q: [9605, 301, 3815, '3555', '8399', '2421', '6579', 'I', 'g', 's', 'a', 'T', 'w', 7419, 1721, 3853, 5703], ['J', 1425, 3627, 3619, '3555', '8399', '2421', '6579', 'I', 'g', 's', 'Y', 'R', 4039, 'y']

A: 3555, 8399, 2421, 6579, I, g, s
****
Q: [3077, 3479, 3379, 'D', 'i', 7403, 6449, 'n', 3311, 8523, 2007, 9041, '9979', '8433', 'h', '7755', 'W', '7535', 'K', '5085', 'l', 'p', 'u', '8259', '8973', '4387', '1031', 'I', 'V', '9833', 'P', 9541, 'X', 'q', 'e', 8843, 'k', 'U', 1453, 4579], [3897, 'o', 3035, 'f', 'X', 1053, 'i', 571, 4895, 1547, 'V', 'k', 9547, '9979', '8433', 'h', '7755', 'W', '7535', 'K', '5085', 'l', 'p', 'u', '8259', '8973', '4387', '1031', 'I', 'V', '9833', 'd', 'i', 833, 1633, 'L', 2351, 'P', 'b', 'R', 'v', 7271, 'z', 2735, 2549]

A:
9979, 8433, h, 7755, W, 7535, K, 5085, l, p, u, 8259, 8973, 4387, 1031, I, V, 9833
****