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

Q: [6453, 7881, 'D', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'Y', 2235, 823, 'q', 'S', 'R', 'K', 2809, 'o', 7605, 'L', 'V', 'D', 'R'], [1195, 'n', 5253, 7139, 4463, 10023, 'O', 'Y', 'X', '9799', 'Z', '1711', 'P', 'L', 'E', '5039', '1161', 'n', '6077', '685', 'F', 'C', 'L', 4321, 3545, 'G', 'G', 'h']

A: X, 9799, Z, 1711, P, L, E, 5039, 1161, n, 6077, 685, F, C
****
Q: ['S', 'd', 'z', 2305, '2731', 'W', '5987', '4043', 'w', 'v', 'S', 'v', '1143', '1725', '9073', '4411', '9321', '1213', '3111', '2527', 'U', 'U', 'y', 'N', 'n', 6769], ['Q', 'T', 'n', 1267, 5099, 57, 4739, 295, 8099, 'n', '2731', 'W', '5987', '4043', 'w', 'v', 'S', 'v', '1143', '1725', '9073', '4411', '9321', '1213', '3111', '2527', 'U', 'K', 'n', 'N', 'b', 3941, 3443, 'A', 7927, 'g', 'h']

A: 2731, W, 5987, 4043, w, v, S, v, 1143, 1725, 9073, 4411, 9321, 1213, 3111, 2527, U
****
Q: ['j', 'H', 's', 5087, 'P', '5093', 'n', '5597', 'u', '4037', 'E', 'U', '8725', 'H', '5401', '3027', 'D', 'm', 'R', 729, 'o', 2141, 'e', 7809, 7685, 'm'], [471, 8025, 'q', 5333, 't', 'P', '5093', 'n', '5597', 'u', '4037', 'E', 'U', '8725', 'H', '5401', '3027', 'D', 'r', 9111, 'Q', 8009, 'q']

A:
P, 5093, n, 5597, u, 4037, E, U, 8725, H, 5401, 3027, D
****