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

Q: ['x', 9249, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'J', 10001, 'A', 225, 1607, 'a', 'h', 6377], [375, 'D', 4093, 'g', 735, 955, 'c', 9937, 2987, 7035, 'X', 7703, 9937, 'Y', 3849, 2197, 4731, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'Y', 'K', 's', 1667, 9723, 3697, 1759, 3243, 'r', 'v', 'Z']

A: X, o, 7637, q, S, 733, 1483, T, 7653, F, 7879, k, 1881, Q, J, 4517, n, q, 1919, 381, 4725
****
Q: ['v', 1865, 4265, 'k', 3919, '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'D', 817, 'J', 8167, 8877, 'l', 'r', 8675, 'h', 'b', 4225, 8785, 6811], ['w', 4835, 'R', '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'Z', 9303, 2325, 'W']

A: 4767, 4811, F, N, 217, z, G, M, 6733, 8855, 2983, r, 5191
****
Q: [2469, 5409, 6153, 'b', 'm', 'J', 'P', 3387, 's', '6649', '907', 'O', '9527', '8041', '1171', '8759', 'd', '1585', 'U', 'x', '5909', '993', 'H', '9089', '1367', 'n', 'X', 'b', 87, 'g', 8347], [4855, 'o', 8213, 'V', 2745, 'F', 4063, 'q', 1105, '6649', '907', 'O', '9527', '8041', '1171', '8759', 'd', '1585', 'U', 'x', '5909', '993', 'H', '9089', '1367', 'n', 'E', 'l', 'H', 'E']

A:
6649, 907, O, 9527, 8041, 1171, 8759, d, 1585, U, x, 5909, 993, H, 9089, 1367, n
****