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

[Q]: [161, 4197, 9653, 'B', 7407, 'S', 'o', 4111, 2533, 5853, 2689, 3885, 4663, 7917, 2761, '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 'G', 833, 'J', 6547, 1275, 'u', 'z', 4137, 1605, 'm', 'c', 7401, 4119, 's'], [6981, 'L', 'b', 'B', 1803, 1413, 5191, 'i', '8061', '2211', 'w', 'O', 'z', 'G', 'F', '1055', '5895', 'J', 'L', '2759', 'l', 'e', '3601', 't', 't', 'n']
[A]: 8061, 2211, w, O, z, G, F, 1055, 5895, J, L, 2759, l, e, 3601

[Q]: ['S', 'o', 9247, 'W', 'G', 5923, 4791, '8083', '3207', '9137', '9359', '9297', '9667', '75', 'h', '9671', 's', 'T', 5829, 'p'], ['K', 'U', 'H', 8611, 1005, 'I', '8083', '3207', '9137', '9359', '9297', '9667', '75', 'h', '9671', 'C', 9577, 8279, 2247, 'x', 4917, 'H']
[A]: 8083, 3207, 9137, 9359, 9297, 9667, 75, h, 9671

[Q]: ['x', 9765, 'k', 'G', 'k', 9655, 4653, 'S', 911, 'M', '2129', 'c', 'g', '4829', '7939', '4317', '4747', '1999', '4821', 'R', 'd', 3201, 'k', 633, 'd'], ['Q', 'Q', 6061, 'M', '2129', 'c', 'g', '4829', '7939', '4317', '4747', '1999', '4821', 'k', 7013, 'I', 4151, 'Q', 'i']
[A]:
M, 2129, c, g, 4829, 7939, 4317, 4747, 1999, 4821