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

Q: [2037, 'z', 'w', 7693, 'M', 'W', 'Y', 'G', 'U', 2483, 'l', 2629, 'F', '6973', 'w', 'D', 'z', 'z', 'Y', 'm', '6417', '927', 'X', 'N', 'L', '6511', '8401', 'A', 1945, 5937, 7887, 'j', 6615, 'O', 3925, 7455, 319, 'A', 6973], ['q', 'N', 'V', 'S', '6973', 'w', 'D', 'z', 'z', 'Y', 'm', '6417', '927', 'X', 'N', 'L', '6511', '8401', 'v', 'J', 'j', 'w']

A: 6973, w, D, z, z, Y, m, 6417, 927, X, N, L, 6511, 8401
****
Q: [5231, 5685, 9687, 3613, 75, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'B', 'P', 'j', 'n', 5543, 6907, 9665, 4635, 'K', 'b', 4577, 'n', 4119, 'C'], [1147, 'Z', 'G', 9027, 'q', 'p', 'b', 'l', 'W', 'J', 1599, 'y', 6833, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'H', 6089, 'w']

A: 6685, G, q, F, X, 5671, r, 2785, V, 6491, d, N, 6803, P, M
****
Q: ['w', 1233, 'Z', 2949, 1773, 6623, 'm', 2935, 'v', 595, 9373, '7203', 'a', '6179', 'G', '847', '7011', '3297', 'o', '209', 'h', 'z', 'x', 7909, 'p', 4043, 5455, 4579, 4741, 'n', 1435, 'F'], [3251, 697, 1805, 'e', '7203', 'a', '6179', 'G', '847', '7011', '3297', 'o', '209', 'h', 'z', 'f', 'c', 's', 4439, 'm', 4641, 'x', 'D', 'T', 'd']

A:
7203, a, 6179, G, 847, 7011, 3297, o, 209, h, z
****