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

Q: ['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]

A: z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w
****
Q: [5639, 'n', 'J', '9525', 'B', 'o', 's', 'P'], ['t', 893, 4667, '9525', 'B', 'o', 7501, 'z', 6255]

A: 9525, B, o
****
Q: [2405, 'd', 'C', 1223, 4145, 7649, '8373', 'C', '6815', 'w', '8729', '4329', '6975', 'g', 's', 'c', 'o', 'E', 127, 'Q'], [1925, 7767, 1061, '8373', 'C', '6815', 'w', '8729', '4329', '6975', 'g', 's', 'E', 7935, 93, 'Z', 'u', 'D']

A:
8373, C, 6815, w, 8729, 4329, 6975, g, s
****