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]: ['P', 6481, 'O', 6003, 1505, 'G', 3907, 'c', 5741, 3, '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'Z', 'P', 'i', 9259, 'T'], [3141, 4731, 4787, 6417, 8539, 3015, 3437, 6005, 'w', '4963', '1225', '4331', '1287', 'v', '8479', 'y', '673', 'M', 'V', '8307', 'C', '7931', 'z', 'k', 6421, 645, 6161, 'm']
[A]: 4963, 1225, 4331, 1287, v, 8479, y, 673, M, V, 8307, C, 7931, z


[Q]: [5011, 'y', 'v', 1019, 'F', '2709', '5215', '6833', 'W', 'W', 'b', 'D', 'A'], [8413, 7957, 3479, 9685, 3541, 'F', '2709', '5215', '6833', 'W', 'W', 'a', 'Z']
[A]:
F, 2709, 5215, 6833, W, W