Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['O', 1147, 8145, 'E', 3805, 'n', 'B', 'w', '7253', '7805', 'Y', '9427', 'K', 'A', 'd', '887', 'A', 'a', 'U', 'R', '9263', 'D', 'q', '5529', 'p', 'R', 'k', '8925', 'J', '4601', 'F', '281', '8967', 'M', 'a', 'J', 'E', 3413, 'R', 6321, 8339, 'L', 5925, 'W', 9855, 'v', 'N', 9573, 'F', 'U', 'G', 895, 'a', 1607, 5297, 6583, 6493, 'e', 1599, 'Z', 9109], ['N', 8009, 'r', 4881, 7009, 'U', 'k', 551, 'a', 'S', 'n', 'U', 'x', 'i', 2299, 1541, 5019, 'W', 'o', 9397, 9829, 4883, 'N', 8329, 9925, 'w', '7253', '7805', 'Y', '9427', 'K', 'A', 'd', '887', 'A', 'a', 'U', 'R', '9263', 'D', 'q', '5529', 'p', 'R', 'k', '8925', 'J', '4601', 'F', '281', '8967', 'M', 'I', 'J', 'b', 2151, 7831]
A:
w, 7253, 7805, Y, 9427, K, A, d, 887, A, a, U, R, 9263, D, q, 5529, p, R, k, 8925, J, 4601, F, 281, 8967, M