Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['K', 8061, '3515', '5803', '5271', '7341', 'V', 'X', 'x', '8067', 'B', '3627', 'V', 'g', 'v', '2029', 'd', '7003', 'J', 'P', 'J', '563', 'B', '9207', 'r', '5631', 'U', 'N', 3917, 2115, 8539, 2713, 2259, 'L'], [7863, 'o', 6481, 6125, 't', 3783, 2069, 'B', 5039, 525, '3515', '5803', '5271', '7341', 'V', 'X', 'x', '8067', 'B', '3627', 'V', 'g', 'v', '2029', 'd', '7003', 'J', 'P', 'J', '563', 'B', '9207', 'r', '5631', 'U', 'J', 'w', 2463, 'g', 'G', 5659, 'D', 'M', 'b', 9129, 8453, 7265, 'B', 'f', 'e', 'Y', 733, 3287]
A:
3515, 5803, 5271, 7341, V, X, x, 8067, B, 3627, V, g, v, 2029, d, 7003, J, P, J, 563, B, 9207, r, 5631, U