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

[Q]: [3707, 6473, 'o', '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'G', 9269, 5835, 2723, 'm', 'n', 6209], [7513, 4579, 6017, 7723, '495', '3897', 'O', 'x', '2409', '6843', '3477', '5411', 'w', 'T', 'g', 'M', 'V']
[A]: 495, 3897, O, x, 2409, 6843, 3477, 5411


[Q]: [4731, 'z', 8923, 1325, 'P', 8435, 'u', 'B', 'N', 8191, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'O', 'H', 9453], [4977, 'E', 4865, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'R', 'T', 7065]
[A]: O, 3019, 4077, w, W, x, z, 2233, 6509, N, 3069, 5471, K, x, q, 979, M


[Q]: [451, 'a', 1491, 'K', 3157, 'l', 2609, 7587, 9125, 4715, 'k', 'f', 469, 'x', 'Y', 'g', 'd', '7957', '3813', '3499', 'G', '8773', 'I', 'y', 'C', '7351', 'c', '8581', '6525', '3815', 'r', 'a', 6443, 'M', 'r', 9253, 9293, 635], [5265, 5931, 7313, 4549, 'w', 8753, 'Y', 'J', 'x', 'Y', 'g', 'd', '7957', '3813', '3499', 'G', '8773', 'I', 'y', 'C', '7351', 'c', '8581', '6525', '3815', 'P', 1103, 'W', 'F', 'O', 3647, 8621, 'V', 2737, 7135, 'M', 'i']
[A]:
x, Y, g, d, 7957, 3813, 3499, G, 8773, I, y, C, 7351, c, 8581, 6525, 3815