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

Q: [3299, 9737, 'M', 'P', 'H', '6993', '7079', 'k', 'u', 'k', '2129', 'm', 'l', '7993', 'i', '3657', 'u', 'u', 'Z', 'O', 'c', '7045', '8071', 'z', 'P', '7919', 'F', 4343, 'E', 'S', 'R', 'w', 'c', 2571, 9369, 8565, 6599], ['z', 4799, 'J', 'G', 'z', 2263, 8619, 'Y', 'I', 'b', 'K', 'l', 7535, 'm', 'i', 2287, 4413, 189, '6993', '7079', 'k', 'u', 'k', '2129', 'm', 'l', '7993', 'i', '3657', 'u', 'u', 'Z', 'O', 'c', '7045', '8071', 'z', 'P', '7919', 'T', 6699, 7547, 9497, 'K', 3003, 165, 5157, 'b', 7321, 'V', 6099, 6161]

A: 6993, 7079, k, u, k, 2129, m, l, 7993, i, 3657, u, u, Z, O, c, 7045, 8071, z, P, 7919
****
Q: [7895, 3277, 4453, 8001, 3249, 8861, 8095, 6707, 7707, 6229, 'N', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'Q', 207, 3235, 5207, 2349, 3663, 3563, 4147, 707, 'x', 'j', 2787, 7923, 'J', 6673, 'X', 4963], ['l', 8291, 'r', 9185, 'B', 9975, 9663, 'U', 'O', 'Z', '8179', '1801', 'm', '8015', 'd', '4081', '4825', '4959', 'e', 'W', '7321', 'o', '1247', '10025', '7661', 'z', 'e', 'A', '3033', 'H', 'H', '6305', 'y', '7569', 'a', 'G', 'S', 185, 8775, 'y', 1691]

A: 8179, 1801, m, 8015, d, 4081, 4825, 4959, e, W, 7321, o, 1247, 10025, 7661, z, e, A, 3033, H, H, 6305, y, 7569
****
Q: ['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]

A:
1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689
****