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]: [9093, 3879, 'g', 'L', 'h', 'T', 'w', 'w', 'H', 'P', 1709, 'm', 'C'], ['G', 'h', 'L', 'h', 'T', 'w', 'w', 'Z', 'R', 3525, 'g', 8463]
[A]: L, h, T, w, w


[Q]: [6269, 'U', 1165, 4999, 'g', '9607', 'q', 'T', 'J', 355, 1965], [2649, 'I', 'g', '9607', 'q', 'T', 'R', 'X']
[A]:
g, 9607, q, T