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

Q: [5577, 'V', 'R', 7749, 'P', 7921, 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 'H', 'L', 4377, 'z', 6727, 'm', 'S', 5001, 'F', 'h', 'j', 8457], [1021, 9597, 6541, 'c', 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 't', 603, 'y', 5235, 'U', 'b']

A: B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D
****
Q: [7299, 'v', 7279, 'o', 2589, 'K', '4943', '9427', '7945', '7645', '1709', '6515', '2249', 'l', 'n', 'f', '1935', 'e', 'f', '2977', '8835', 'p', '7753', 'U', '295', 'f', 1935, 'V', 9979, 3301, 'Z', 'J', 521, 871, 'Z', 'R', 7831, 'T', 'h', 3231, 'e', 2391], [7491, 'k', 4137, 'P', 'F', 8159, 'x', 6363, 2449, 7479, 6825, 7107, 'I', 2931, 7047, 9149, '4943', '9427', '7945', '7645', '1709', '6515', '2249', 'l', 'n', 'f', '1935', 'e', 'f', '2977', '8835', 'p', '7753', 'U', '295', 'g', 7147, 2657, 'Z', 'a', 503]

A: 4943, 9427, 7945, 7645, 1709, 6515, 2249, l, n, f, 1935, e, f, 2977, 8835, p, 7753, U, 295
****
Q: [6109, 909, 'X', 'T', 1363, 'f', 8023, 'D', 'q', 'q', '5451', '5345', '2365', '2155', '9935', 'V', 'Q', '5929', 's', 'l', 'e', '9133', '1301', 'L', '1479', '6165', 'A', 'B', '5331', '4549', 'Q', 't', 'e', 1255, 4277, 'S', 6809, 's', 'v', 'o', 6941, 'o', 8903, 'c'], [4249, 'H', 'N', 'U', 'D', 'q', 'q', '5451', '5345', '2365', '2155', '9935', 'V', 'Q', '5929', 's', 'l', 'e', '9133', '1301', 'L', '1479', '6165', 'A', 'B', '5331', '4549', 'V', 6671, 1147, 'U', 'D', 5577, 6857, 'E', 4723, 'm', 'Z']

A:
D, q, q, 5451, 5345, 2365, 2155, 9935, V, Q, 5929, s, l, e, 9133, 1301, L, 1479, 6165, A, B, 5331, 4549
****