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

[Q]: [9577, 'v', 2595, 7901, 5205, 'Z', 2647, 'm', 't', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'i', 9823, 5731, 'd', 'u', 1461, 'Z', 9415, 541, 'T', 'A', 'G', 7275], [9731, 4061, 'V', 'k', 9589, 'v', 'k', 7917, 'x', 'B', 'z', 31, 'K', 'h', '6209', '6325', 'B', '8879', '1137', '7837', '1819', 'S', '2249', 'i', 'L', '3729', 'n', 'J', 'g', 8859, 195, 'l']
[A]: h, 6209, 6325, B, 8879, 1137, 7837, 1819, S, 2249, i, L, 3729


[Q]: [225, 'D', 4905, 3065, 'e', 'I', 'V', 3599, 'D', 5851, 2675, 4601, 7721, 'B', 'W', '8579', '5823', 'j', 'o', 'A', 'x', '9525', '6535', '7653', 'r', '7807', 'o', 'h', '5139', '3941', 'T', 'U', 2673, 6825, 'r', 3045, 5503, 'L', 'y', 7333, 5693], [4873, 9897, 2905, 9917, 'Q', 7565, 'w', 6631, 3015, 'n', 's', 't', 9913, 'Q', 'W', '8579', '5823', 'j', 'o', 'A', 'x', '9525', '6535', '7653', 'r', '7807', 'o', 'h', '5139', '3941', 'T', 'p', 8733, 'o', 2341, 777, 'q', 's']
[A]: W, 8579, 5823, j, o, A, x, 9525, 6535, 7653, r, 7807, o, h, 5139, 3941, T


[Q]: [7807, 'k', 'o', 4569, 8717, 'h', 'G', '4905', 'x', 'n', '2095', 'S', '3195', 'h', '931', '3987', '7925', '5985', 'A', 'w', 4035], [9241, 'w', 3309, 'h', 'v', 6219, 6913, 'K', 4077, 1565, 9221, 'p', 1771, 'G', '4905', 'x', 'n', '2095', 'S', '3195', 'h', '931', '3987', '7925', '5985', 'A', 'i', 'f', 'y', 2165, 'N', 2229]
[A]:
G, 4905, x, n, 2095, S, 3195, h, 931, 3987, 7925, 5985, A