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

Q: [1893, 1281, 10025, 'E', 2675, 2191, 'A', 4351, 3435, 7087, 'J', 'l', 'w', 'D', 'x', 'n', 4329, 4957, 'l', 'F', '8377', '8425', 't', '9767', 'B', '6243', '5819', '7993', '2429', '3513', 'A', '929', 'H', '7223', 'x', 'x', 'N', '6205', '3829', '8551', '6479', 'Z', '7559', '6201', '9539', 'e', 'R', 'Y', '5015', '7301', 'w', 'g', 'U', 5321, 'i', 4069, 'f', 1415, 'K', 7073, 'J', 'S', 'm', 4119, 'H', 243, 'J', 'Z', 'n'], [6147, 1863, 2545, 3545, 'W', 'B', 'b', 533, '8377', '8425', 't', '9767', 'B', '6243', '5819', '7993', '2429', '3513', 'A', '929', 'H', '7223', 'x', 'x', 'N', '6205', '3829', '8551', '6479', 'Z', '7559', '6201', '9539', 'e', 'R', 'Y', '5015', '7301', 'Y', 7797]

A: 8377, 8425, t, 9767, B, 6243, 5819, 7993, 2429, 3513, A, 929, H, 7223, x, x, N, 6205, 3829, 8551, 6479, Z, 7559, 6201, 9539, e, R, Y, 5015, 7301
****
Q: [9443, 'M', 101, 7215, 8235, '8411', 'l', 'C', 'Y', 'R', 'A', 's', '8129', '7315', 'X', '9939', 'X', '7893', '2113', 'X', 9771, 4565, 'X', 'q', 'E', 'e', 1203, 'Y', 7321, 5537], ['d', 'h', 'X', 5695, 'g', 'z', 3179, '8411', 'l', 'C', 'Y', 'R', 'A', 's', '8129', '7315', 'X', '9939', 'X', '7893', '2113', 'K', 4507, 8957, 'K', 'i', 'k', 1123, 6635, 't', 'D']

A: 8411, l, C, Y, R, A, s, 8129, 7315, X, 9939, X, 7893, 2113
****
Q: ['s', 2995, 'n', 4103, '8495', 'l', 'j', '5043', '7589', '7233', 'd', '403', 'E', 9289, 'D'], [2339, 6857, '8495', 'l', 'j', '5043', '7589', '7233', 'd', '403', 'e', 7373, 'c', 'u', 2143, 2455, 'R']

A:
8495, l, j, 5043, 7589, 7233, d, 403
****