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

[Q]: [2785, 'M', 'd', 8001, 'z', 'G', 5661, 2853, 9397, 4757, 'b', 'f', 989, 'U', 'K', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'P', 'G', 'v', 4813, 'G', 6799, 9011, 'z', 4267], ['T', 'j', 'I', 6037, 'w', 'g', 3555, 9897, 9741, 5673, 5825, 407, 2157, 6461, 6095, 4477, 'Y', 'Y', 1773, 'N', 4151, 'j', 2911, 7543, 'b', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'C', 9075, 'j', 'o', 9087, 3137, 'G', 'j', 'p', 'd', 'N', 2085, 831, 1041, 1181, 'Y', 9409, 2267, 'q', 'w', 'w', 'O', 7523]
[A]: 3583, 4559, 2581, n, t, s, 987, o, 5487, c, E, 4505, 6765, 8305, N, s, 9393, q, r, 5487, 6365, 9377, M, 6661, 8579, 9899, x, 5739


[Q]: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']
[A]: A, g, 6735, 6737, 6929, 3051, v, 1223, 497


[Q]: [571, 969, 3069, 7455, 'g', 'Z', 237, 8231, 71, 'X', '873', 'N', 'u', 'c', 'n', '759', 'p', 'I', '1007', 'O', 'V', '9137', 'G', '1727', '7437', 't', '8909', 'L', 'C', 'R', 3217, 1445, 3493, 'Y', 'G', 6747, 751, 1347, 7337, 'Z'], ['z', 'U', 477, 'm', 'y', 7909, 413, 6315, 'v', 7173, 1403, 'F', 'M', 7559, 7589, 9021, 'U', 2859, '873', 'N', 'u', 'c', 'n', '759', 'p', 'I', '1007', 'O', 'V', '9137', 'G', '1727', '7437', 't', '8909', 'L', 'k', 3817, 'Q', 1165]
[A]:
873, N, u, c, n, 759, p, I, 1007, O, V, 9137, G, 1727, 7437, t, 8909, L