Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['X', 'Q', 2127, 105, 'w', 'i', 'A', 'j', 'x', 'w', 't', 'm', 'X', '8717', '709', '9129', 'J', '4501', '4753', 'k', '3891', 'z', '767', 'X', '3663', 'q', 'R', '9369', '5301', '4125', '41', '1367', 'w', 'M', '5021', 'O', 1665, 'n', 'A'], [8931, 'k', 733, 1907, 'a', 'u', 'U', 1669, 'Q', 3083, 'Z', 'l', 5225, 'Q', 8591, 's', 1079, 157, 9185, 2583, '8717', '709', '9129', 'J', '4501', '4753', 'k', '3891', 'z', '767', 'X', '3663', 'q', 'R', '9369', '5301', '4125', '41', '1367', 'w', 'M', '5021', 'u', 'v', 'o', 915, 1747, 355, 3429, 127, 7959, 9563, 4357, 3523, 3639, 'E']
A:
8717, 709, 9129, J, 4501, 4753, k, 3891, z, 767, X, 3663, q, R, 9369, 5301, 4125, 41, 1367, w, M, 5021