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

Q: ['n', 'B', 9073, 2685, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'Z', 'i', 643, 5111, 2247, 'a', 'D', 'd', 1549, 'y', 513, 9369], ['Q', 'n', 'z', 9967, 'S', 9781, 1179, 'f', 5261, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'G', 215, 'Q', 4821, 9073]

A: 3289, 9837, 4995, e, 3075, m, 1005, 2279, P, 3949, 643, y, 6717, I, 891, k
****
Q: [7217, 5633, 8727, 'l', 's', 'u', 'T', 'F', 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'J', 7151, 'J', 1523, 'p', 369, 8817, 'N', 'B', 1305, 1271, 1349, 3329, 1437, 'p'], [595, 7009, 'f', 463, 'B', 'V', 7397, 'n', 'L', 'G', 'K', 'S', '523', '9835', '1331', '7069', '9089', 'z', '8111', 'C', '7653', 'P', 'Y', 'x', 7741, 4563, 'O', 'l', 'D', 'U', 5221]

A: n, L, G, K, S, 523, 9835, 1331, 7069, 9089, z, 8111, C, 7653, P
****
Q: [5517, 6687, 8049, '9703', '3737', 'X', 'L', '5953', '4159', 'Q', 'L', 'W', '5767', '7851', '9497', '7443', '2931', '5431', '8985', '1901', 'i', 'o', 357, 'B', 'q', 'U', 'u', 'b', 'H', 5735, 'r'], ['q', 'Y', 'g', 'H', 1481, 'Q', 'H', 1721, 'a', 9533, 3327, 'B', 'd', 'Q', 'Y', '9703', '3737', 'X', 'L', '5953', '4159', 'Q', 'L', 'W', '5767', '7851', '9497', '7443', '2931', '5431', '8985', '1901', 'Y', 'Z', 1399, 6099, 'A', 5365, 'N', 4553, 'e', 'J', 'F', 5943, 'd', 3905, 'G']

A:
9703, 3737, X, L, 5953, 4159, Q, L, W, 5767, 7851, 9497, 7443, 2931, 5431, 8985, 1901
****