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

Q: [901, 'l', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'g', 'R', 'r', 1103, 9941, 'A', 'b'], [9075, 'z', 'w', '4509', '5969', '517', 'T', 'G', '3221', 'E', 'f', 'c', '7993', 'R', 'I', 'G', 245, 865, 'x', 2117, 'G', 'w', 'Q', 6337, 'I', 'B']

A: 4509, 5969, 517, T, G, 3221, E, f, c, 7993, R, I
****
Q: [875, 'U', 'g', 'q', 'H', 2847, 'f', '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'e', 'n', 5885, 'w', 3345, 4693, 'H', 7789, 'y', 'j', 'e'], ['V', 'j', 6713, 2923, 'y', 6205, 'm', 5961, 9023, '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'y', 7427, 5987]

A: 6811, B, 7549, K, r, V, x, P, X, 2469, 3845, W
****
Q: ['Y', 'Z', 'm', 'S', '3631', 'v', 'x', 5851, 615, 'm'], ['D', 'D', 'm', 'S', '3631', 'v', 'O', 'D']

A:
m, S, 3631, v
****