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

[Q]: [9881, 2501, 7097, 3329, 1065, 'h', 'J', 1357, 'Y', 'x', 7747, 357, 3529, 6397, 'L', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'd', 'o', 'Y', 363, 7935, 'M', 'o', 'k', 'w', 9975, 405, 'a'], ['E', 'g', 2627, 1707, 2107, 8717, 'D', 'e', 'g', 'l', 'N', 'd', '539', '2309', 'a', 'B', '965', '7339', '5615', 'O', 'b', '9687', '1095', '2253', 'G', 'G', '5381', 'e', '7179', '3215', 'z', '7589', 'V', '6001', '2451', '6691', '2189', 'K', 'X', 4927, 'U', 'P', 'r', 'c', 'o', 'm', 7749]
[A]: 539, 2309, a, B, 965, 7339, 5615, O, b, 9687, 1095, 2253, G, G, 5381, e, 7179, 3215, z, 7589, V, 6001, 2451, 6691, 2189


[Q]: [5071, 3641, 'a', 'n', 4549, 'K', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 't', 'G', 'L', 3179, 10017, 'p', 1633, 3951, 3277, 'c'], ['k', 3793, 'G', 'z', 'F', 3735, 595, 'c', '6783', 'P', '5113', '9801', '4323', 'u', '4227', 'G', 'J', '5259', 'f', 'u', 9709, 6341, 'N', 'F', 'G', 5533]
[A]: 6783, P, 5113, 9801, 4323, u, 4227, G, J, 5259


[Q]: [4545, 'b', 'x', 1055, 'q', 1571, 'Y', 6695, 'm', 4631, 6179, 4931, 'A', 'm', '2149', '4611', '3431', '5187', '5479', 'c', '8493', '3847', '1441', 'S', 'l', 'J', '2811', 'F', '7605', 'X', 4355, 7955, 'v', 'E', 9009, 545, 'V', 'X', 'Z', 9913, 'J', 1391, 'U', 'N'], ['R', 9951, 1485, 'd', 'a', 'W', 5751, 2587, 5825, 'Z', 'g', 3031, 'm', '2149', '4611', '3431', '5187', '5479', 'c', '8493', '3847', '1441', 'S', 'l', 'J', '2811', 'F', '7605', 'U', 'R', 1015, 'f', 'Z', 'Q', 1147]
[A]:
m, 2149, 4611, 3431, 5187, 5479, c, 8493, 3847, 1441, S, l, J, 2811, F, 7605