Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: ['W', 8279, 'O', 'w', 'L', 9855, 7171, 7119, 2105, 9875, '1425', 'v', '4485', '8525', '2455', 'K', '8471', '8015', '4515', 't', '2321', '5601', '8339', 'm', '9521', 'n', 9425, 'B', 2021, 'Q'], [4315, 1853, 'u', 99, 7219, 2663, 'y', 'g', 'p', 6529, 391, '1425', 'v', '4485', '8525', '2455', 'K', '8471', '8015', '4515', 't', '2321', '5601', '8339', 'm', '9521', 'T', 2999, 'V', 'O', 'Q', 'l', 4245, 'c', 'O', 8513, 'G', 3409, 4433, 9103, 'Q']
Output:
1425, v, 4485, 8525, 2455, K, 8471, 8015, 4515, t, 2321, 5601, 8339, m, 9521