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

[Q]: [5363, 'h', 3845, 6217, 2315, 'm', 'O', 5573, 4601, 7145, 9561, 'q', 'r', 'T', '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'Y', 9545, 6705, 6445, 'X', 7149, 'B', 9079, 'P', 9337, 3641, 3731, 4837, 't'], [4089, 'f', 'A', 'q', 477, '619', 'r', '8913', '7507', '4527', '9313', '7813', '4297', '9581', '561', 'L', 'F', '9357', '5175', '1853', 'K', 'a', '8575', 'V', '8283', 'J', '5341', 'q', 't', 'g', 'T', 8621, 'Z', 'L', 'd', 9207, 5705, 'Z', 'l', 'I', 'Z', 1141, 9949, 867, 'H', 'E', 3605, 3617, 331]
[A]: 619, r, 8913, 7507, 4527, 9313, 7813, 4297, 9581, 561, L, F, 9357, 5175, 1853, K, a, 8575, V, 8283, J, 5341

[Q]: [9627, 3485, 'B', 'B', 2377, 5949, 6975, 6061, 8717, 'I', 7415, 'v', '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'B', 'm', 'D', 'e', 3155, 'N', 'y', 5923, 1375, 5079], [883, 'N', 81, 'q', 'd', 'P', 'v', 'v', 6005, 1079, '3101', '7411', '3847', 'R', '4943', 'r', '2953', 'b', 'W', 'y', '3509', '6167', 'L', 'J', 'J', 795, 'g']
[A]: 3101, 7411, 3847, R, 4943, r, 2953, b, W, y, 3509, 6167, L, J

[Q]: ['w', 2545, 2521, 'z', 8033, 1837, 9763, 'h', 'Y', 9969, '6399', 's', '7117', 'y', 'W', 'W', '5163', 'U', '1229', 'm', 'J', '4525', 'P', '1625', '8605', 'o', 'w', 'd', '6059', '1843', '9343', 'K', 't', 'K', 'X', 4615, 2749, 167, 2049, 'u', 5863, 5125, 8807, 2013, 'r', 7025, 'V', 'Z', 'N'], ['S', 'I', 6687, 5847, '6399', 's', '7117', 'y', 'W', 'W', '5163', 'U', '1229', 'm', 'J', '4525', 'P', '1625', '8605', 'o', 'w', 'd', '6059', '1843', '9343', 'C', 9335, 365, 'v', 'K', 8493, 2797, 'B', 6267, 9817, 7747, 7917, 8085]
[A]:
6399, s, 7117, y, W, W, 5163, U, 1229, m, J, 4525, P, 1625, 8605, o, w, d, 6059, 1843, 9343