In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['B', 'K', 'a', 6485, 5053, 'b', 'A', 'e', 21, 'T', 'H', 'V', 5941, 'O', 'E', 'd', 3131, '3017', 'X', '5827', 'O', '1023', '4353', 'y', '6225', '8625', 'w', 's', 'D', 'P', '7801', '1805', '8669', 'Y', '765', '5675', '1673', 'y', 2781, 2743, 4853, 'L', 4085, 'D'], [8129, 4769, 9717, 4959, 3515, 1213, 'p', 'n', 'g', 'y', 529, 'E', 6413, 'F', 1919, 5821, 9111, '3017', 'X', '5827', 'O', '1023', '4353', 'y', '6225', '8625', 'w', 's', 'D', 'P', '7801', '1805', '8669', 'Y', '765', '5675', '1673', 'g', 3747, 'E', 479, 9821, 'F', 6923, 477, 'U', 3141, 'f', 3615, 'm', 5565, 3929, 723, 'A']
A:
3017, X, 5827, O, 1023, 4353, y, 6225, 8625, w, s, D, P, 7801, 1805, 8669, Y, 765, 5675, 1673