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

Q: ['t', 3815, '7171', 'I', 'm', '3035', 'a', 'V', 2889, 'm'], [5911, 4525, 'R', 133, '7171', 'I', 'm', '3035', 'P', 'W', 'f', 4045]

A: 7171, I, m, 3035
****
Q: ['b', 'L', 'v', 7993, 2017, 929, '4549', '3397', 'O', 'M', 'F', '6233', '6011', 'Z', '8625', 'm', '1699', '7663', '2439', 'p', 'a', 'C', '9955', 'O', '1085', '2845', '2029', '391', 'O', '5349', 'L', '2971', '631', 'a', 3379, 'W', 397, 8293, 5007], ['j', 'O', 3563, 'V', 5991, 'z', 'd', 513, '4549', '3397', 'O', 'M', 'F', '6233', '6011', 'Z', '8625', 'm', '1699', '7663', '2439', 'p', 'a', 'C', '9955', 'O', '1085', '2845', '2029', '391', 'O', '5349', 'L', '2971', '631', 'm', 2835, 5795, 3245, 'A', 1761]

A: 4549, 3397, O, M, F, 6233, 6011, Z, 8625, m, 1699, 7663, 2439, p, a, C, 9955, O, 1085, 2845, 2029, 391, O, 5349, L, 2971, 631
****
Q: [7487, 2481, 4529, 'W', 4355, 'R', 'd', '3099', '2019', 't', '2109', '1959', 'h', 'S', 'X', '9077', 'X', 'e', '7087', '2369', '3181', 'H', 7399, 7553, 1801, 'F', 2847], ['P', 'N', 63, 4541, 'x', 3679, 259, '3099', '2019', 't', '2109', '1959', 'h', 'S', 'X', '9077', 'X', 'e', '7087', '2369', '3181', 'g', 939, 'n', 'T', 7955, 'Y']

A:
3099, 2019, t, 2109, 1959, h, S, X, 9077, X, e, 7087, 2369, 3181
****