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

[Q]: [2471, 'o', 'j', 'J', 7539, 8949, 2023, 'b', 'w', 9935, 'i', 'A', '843', 'E', 'Q', 'M', '3185', 'h', 'u', 'K', 'D', '5655', '2057', '1169', 'Q', 'Y', 2199], [2019, 'Y', 2557, 2337, 'p', 'i', 'A', '843', 'E', 'Q', 'M', '3185', 'h', 'u', 'K', 'D', '5655', '2057', '1169', 'g', 7743, 'L', 'A', 5137, 3587, 'V', 1399]
[A]: i, A, 843, E, Q, M, 3185, h, u, K, D, 5655, 2057, 1169

[Q]: ['z', 883, 9795, 4785, 'R', 927, 6697, 'Y', 'a', 'V', 'r', 'x', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'a', 'o', 'O', 'o', 'o', 'k', 5419], ['L', 4127, 'J', 5701, 'u', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'g', 'e', 'G', 'U', 4361, 'z', 3019, 'l', 6969, 'z', 1821, 8135, 4831, 4315, 'F', 6801, 185]
[A]: D, 4987, p, O, w, g, U, 3989, 8321, 9091, 3263, 2091, 2505, 1055, 5617, 2913, 9717, 4691, e

[Q]: [9977, 'u', 3667, '7355', 'p', '461', 't', '8515', 'w', 't', '2727', 't', '6569', '3911', '9827', 'Z', 'Z', 'p', 'I', 'U'], ['K', 'E', 'N', 'M', 8299, 4395, 5535, 9055, 6415, '7355', 'p', '461', 't', '8515', 'w', 't', '2727', 't', '6569', '3911', '9827', 'q', 'k', 1099, 8839, 7419, 2799, 1333, 4243, 'X']
[A]:
7355, p, 461, t, 8515, w, t, 2727, t, 6569, 3911, 9827