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: [5587, 5085, 'i', 'H', 9133, 'D', 'y', 'M', 't', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'I', 573, 1699, 'M', 'm', 'r', 'o', 2659, 8785], ['T', 'h', 9991, 'c', 'J', 'Z', 'Z', 1541, 7687, 'z', 1961, 'A', 9619, 'b', 'o', 'r', '7787', '1083', 'F', '8153', 'i', '979', 'b', 'z', 'g', '1657', 't', '2281', '8149', '7429', 'o', 'p', 6099, 'W', 'V', 'Z', 4553, 5651]

A: r, 7787, 1083, F, 8153, i, 979, b, z, g, 1657, t, 2281, 8149, 7429, o
****
Q: ['A', 'q', 7935, 5915, '5205', 'x', 'f', 'd', '1151', '4071', 'R', 't', 8881, 'M'], ['D', 'u', 'z', '5205', 'x', 'f', 'd', '1151', '4071', 'W', 697]

A:
5205, x, f, d, 1151, 4071
****