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

Q: [6103, 'W', 'k', 931, 'r', 'v', 'w', 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'b', 'w'], [9617, 'F', 3411, 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'O', 9311, 5805]

A: X, 5537, 3209, 4831, R, 2093, U
****
Q: [6137, 1795, 'J', 9247, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'J', 7209, 'S'], [3317, 657, 3971, 8789, 4953, 9693, 'O', 7845, 'r', 'w', 'E', 's', '687', 'N', '8213', '1751', '2567', '5673', 'y', '6821', '6863', '8847', 'z', 's', 'N', 'z', 'M', 'A', 'B', 'l']

A: r, w, E, s, 687, N, 8213, 1751, 2567, 5673, y, 6821, 6863, 8847, z, s, N, z
****
Q: ['F', 'Y', 6099, '4729', 'm', 'Q', '7179', '959', 'I', '9333', '491', 'a', 'm', '1089', '3521', 'Q', 'F', 'T', 'j', 7443, 3311, 'm', 'k', 6357], ['u', 5773, 'O', 'u', 1051, 6313, 1233, 127, 7789, 'D', 3171, '4729', 'm', 'Q', '7179', '959', 'I', '9333', '491', 'a', 'm', '1089', '3521', 'J', 9947, 3653, 'h', 2909, 485, 'D', 'b', 6139, 'h', 9015]

A:
4729, m, Q, 7179, 959, I, 9333, 491, a, m, 1089, 3521
****