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]: [3287, 6115, 5707, 'Y', 'a', 'w', 'K', 4691, 471, 6405, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'y', 6833, 8347, 'D', 2539, 'K', 2775, 2519, 'd', 'h', 'u', 'K', 1525], ['A', 'z', 8243, 'r', 's', 'C', 6111, 'o', 1311, 1511, 'I', 'i', 'J', 3413, '655', 'U', '289', 'o', '3129', 'R', '9269', 'p', '9361', 'i', 'B', '7357', '9831', '2559', 'P', 'R', 'j', 'f', 'a', '3327', 'a', 'F', 'H', 'h', '8175', '4827', 'u', 'k', 'R', 'P', 8947, 'X', 'H', 'G', 5701, 't', 1919, 819, 'j', 'G', 8379, 2409, 5285, 183, 8199, 'T', 'S', 'J']
[A]: 655, U, 289, o, 3129, R, 9269, p, 9361, i, B, 7357, 9831, 2559, P, R, j, f, a, 3327, a, F, H, h, 8175, 4827


[Q]: ['I', 5041, 'l', 'K', 9849, 'Q', 449, 'n', 'V', '47', '7415', 'a', 'g', '2239', '937', 'v', '1723', 'k', 'D', '8595', 'U', 'e', 't', 'm', 'O', 'G', 'f', 'a', 8611], [2915, 1651, 'b', 'i', '47', '7415', 'a', 'g', '2239', '937', 'v', '1723', 'k', 'D', '8595', 'U', 'e', 'X', 'Q', 5151]
[A]:
47, 7415, a, g, 2239, 937, v, 1723, k, D, 8595, U, e