Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: [39, 'U', 7305, 'T', 'B', 'f', 3735, 'b', 'L', 627, 7659, 7099, 'E', 'U', 'x', '4309', 'f', 'i', 'S', 'e', 'o', '1639', '8209', 'I', 'M', 'T', 'p', '531', '7515', '5757', 'A', 'G', 'o', 'h', 'Z', 3871, 'h', 1175, 5573, 1733, 'B', 'M', 9245, 'r', 7633, 'Q', 297], [2759, 3649, 1867, 'T', 'g', 'z', 'N', 'f', 'y', 985, 'h', 'p', 'p', 'b', 5485, 'x', '4309', 'f', 'i', 'S', 'e', 'o', '1639', '8209', 'I', 'M', 'T', 'p', '531', '7515', '5757', 'A', 'G', 'f', 'Z', 'O', 6885, 3307, 'W', 2399, 'I', 5813, 'd', 8085]
A:
x, 4309, f, i, S, e, o, 1639, 8209, I, M, T, p, 531, 7515, 5757, A, G