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

Q: [5367, 7499, 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'o', 'M', 'T', 'q', 'J', 't', 3991], [3847, 'h', 8145, 'z', 'C', 6061, 5347, 'U', 'a', '3619', '5119', '4219', '769', '8735', '6417', 'V', 'W', 'w', 5279, 4553]

A: a, 3619, 5119, 4219, 769, 8735, 6417, V, W
****
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: ['J', 9945, 8421, 81, 8941, 'C', 8261, 301, 'F', 'R', 'l', 'h', 'H', 4505, 'y', 'p', '3015', 'k', 'p', '311', '6289', '19', '1567', 'P', 'C', 'k', 't', 'W', '2059', 'V', 'o', 6731, 'h', 4763, 6019], [6041, 6439, 'G', 'a', 1127, 233, 2671, 'z', 'x', 'm', 'y', 'p', '3015', 'k', 'p', '311', '6289', '19', '1567', 'P', 'C', 'k', 't', 'W', '2059', 'V', 'Y', 7897, 7227, 'c', 5843, 2953, 'c', 'R', 'H']

A:
y, p, 3015, k, p, 311, 6289, 19, 1567, P, C, k, t, W, 2059, V
****