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', 'A', 6853, 'u', 6665, 'C', 'S', 3905, '8307', 'h', '2879', '6203', '2743', '7697', 'J', 't', '2531', 'a', '5741', '1277', 'w', 'j', 'G', 9801], ['X', 4683, 8037, 5459, 'q', 5411, 'O', 'U', 7489, 'J', 375, '8307', 'h', '2879', '6203', '2743', '7697', 'J', 't', '2531', 'a', '5741', '1277', 'c', 't', 5403, 'P', 3701, 9053, 6097, 6671, 191, 283, 'n', 6901]
A:
8307, h, 2879, 6203, 2743, 7697, J, t, 2531, a, 5741, 1277