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

Q: ['v', 4045, 'D', 'P', 181, 4575, 'E', 'X', 'f', 2495, 'b', 5507, 8921, 'H', 8327, '893', 'f', '4969', 'B', 'A', 'T', 'V', 's', 'W', 'p', '5059', '6969', '9305', '4813', 's', 'X', 'y', 487, 'o', 'j', 'H', 'M', 2043, 8101, 'r', 5675, 'H'], ['X', 2089, 517, '893', 'f', '4969', 'B', 'A', 'T', 'V', 's', 'W', 'p', '5059', '6969', '9305', '4813', 's', 'H', 'P', 'M', 'X', 'B', 'y', 183, 3033, 2469, 2793, 8975]

A: 893, f, 4969, B, A, T, V, s, W, p, 5059, 6969, 9305, 4813, s
****
Q: ['t', 3815, '7171', 'I', 'm', '3035', 'a', 'V', 2889, 'm'], [5911, 4525, 'R', 133, '7171', 'I', 'm', '3035', 'P', 'W', 'f', 4045]

A: 7171, I, m, 3035
****
Q: ['Z', 't', 3973, 9283, 'm', 2235, '7941', '8685', '275', 'X', '6291', '8427', '29', 'x', 'A', 'x', 'g', 'z', 5699, 6335, 813, 9213], ['Q', 'X', '7941', '8685', '275', 'X', '6291', '8427', '29', 'x', 'A', 'd', 6287, 'T', 'B']

A:
7941, 8685, 275, X, 6291, 8427, 29, x, A
****