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

[Q]: ['M', 'w', 9985, 4793, 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'b', 9903, 3977, 967, 'i', 'a', 2753, 'L'], [6925, 'w', 1371, 'w', 8257, 't', 6667, 'I', 4609, 5231, 'L', 'R', '6127', '5051', 'e', '6973', '5935', 'e', '8843', '8801', 'q', '4307', 'R', '2797', 'e', '3417', 'Q', 'X', 'U', 'x', 'w', 'H', 'n', 3339, 3271, 1439, 'A', 6725, 3041, 'R']
[A]: R, 6127, 5051, e, 6973, 5935, e, 8843, 8801, q, 4307, R, 2797, e, 3417, Q, X


[Q]: [8903, 3375, 'w', 1053, 3561, 'm', 'n', 525, 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'k', 6765, 'Z', 10011, 'r', 983, 'm', 1725, 4499, 'b', 'w', 4247, 3031, 2341, 'K', 5849, 8609, 'b', 'Q', 9443], [4217, 7417, 7593, 7021, 'x', 'n', 'w', 'G', 'p', 1559, 5043, 's', 'x', 1433, 'U', 6581, 'w', 5419, 'M', 'X', '405', 'm', 's', '1099', '2317', 'O', '2573', 'l', '3259', '4463', '9185', '3407', 'v', '9943', 'C', 'M', 'O', '3067', '2717', 'W', 'B', '5015', 'm', '6297', '301', 'n', 7429, 1747, 'f', 'Q', 7365, 'X', 'r', 'f', 1747, 'H', 'w', 7691, 'Y']
[A]: X, 405, m, s, 1099, 2317, O, 2573, l, 3259, 4463, 9185, 3407, v, 9943, C, M, O, 3067, 2717, W, B, 5015, m, 6297, 301


[Q]: [6765, 'P', 5153, 3573, 'V', 'd', 'H', 545, 635, 6091, 8137, 9395, 3551, 'q', 221, 'v', 'v', 'W', 'n', 1653, 'f', '5553', 'w', 'w', 'w', '9723', 'q', '8373', 'w', '2297', '765', 'p', 'n', 'A', 'T', 'F', '4533', '2949', 'S', '6823', '8783', 'n', 'R', 'R', 2847, 3267, 'y', 'm', 9047, 't', 3431, 'B', 907, 3739, 'a', 9503, 5329, 'i', 'N', 'z', 't', 'G'], [4407, 'k', 6313, 'r', 'i', 'K', 'i', 'J', 'I', 'l', 5457, 'v', 3473, 19, 5477, 'y', 7787, 1733, 'h', 'f', '5553', 'w', 'w', 'w', '9723', 'q', '8373', 'w', '2297', '765', 'p', 'n', 'A', 'T', 'F', '4533', '2949', 'S', '6823', '8783', 'u', 7459, 'S', 7647, 8033, 'z', 'A']
[A]:
f, 5553, w, w, w, 9723, q, 8373, w, 2297, 765, p, n, A, T, F, 4533, 2949, S, 6823, 8783