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: ['m', 'F', 5425, 1403, 6355, 7383, 'Y', 'e', 'K', '10031', 'S', '9599', 'V', 'i', '6919', 'r', 'm', 'I', 'x', '6889', 'M', '1977', 'S', 'c', 'm', '4569', 'F', 'C', 'u', 'N', 2741, 7825, 6521, 'R'], [8389, 7261, 4783, 6181, 6767, 9719, 2625, 'W', 4357, 1749, 887, 153, 8939, 'K', 1329, 'T', 'a', 'k', 'F', 't', 'K', '10031', 'S', '9599', 'V', 'i', '6919', 'r', 'm', 'I', 'x', '6889', 'M', '1977', 'S', 'c', 'm', '4569', 'F', 'C', 'u', 'K', 'E', 'P', 8489, 2309, 'j', 3937, 4731, 'H']

A: K, 10031, S, 9599, V, i, 6919, r, m, I, x, 6889, M, 1977, S, c, m, 4569, F, C, u
****
Q: ['B', 'Z', 6017, 1445, 8339, 4977, 'P', 'U', 'H', 'i', 1951, 'q', 641, 1337, 'T', 'Z', 'P', 119, '3335', '757', '9605', 'S', 'C', 'z', '3481', '6675', 'R', '327', 'l', 'F', 'h', 'S', '5821', 'B', 'u', '933', 'N', 'y', 'j', 'R', 'g', 'f', 2095, 1345, 9725, 5981, 3659, 295, 'F', 4855, 'h', 'z'], ['f', 'I', 4123, 5201, 'u', 3031, 'N', 1371, 2131, 'i', 'B', 9459, 'x', '3335', '757', '9605', 'S', 'C', 'z', '3481', '6675', 'R', '327', 'l', 'F', 'h', 'S', '5821', 'B', 'u', '933', 'N', 'y', 'p', 8603, 'd', 7475, 'X', 6695, 5581, 'L', 6541, 'O', 9885]

A:
3335, 757, 9605, S, C, z, 3481, 6675, R, 327, l, F, h, S, 5821, B, u, 933, N, y
****