In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 857, 'e', 'O', 6825, 'w', 'F', 'Z', 1595, 'a', 2703, 'M', 'A', '8135', '6421', '8139', '515', '7107', 'M', '7191', '81', 'w', 'v', '7887', '2761', 'B', 'm', '3973', 'n', 'Q', 'C', 'K', 'n', 'a', 'X', 115, 6095, 9745, 45, 9477, 't', 'I', 'E', 2317, 'T', 6889, 3181, 1873, 'u', 5883, 1663], [9973, 'R', 4181, 2375, 1623, 8539, 369, 5313, 9393, 'I', 6983, 'd', 9925, 9981, 'p', 'C', 'd', 'X', 5445, 'M', 10005, 'A', '8135', '6421', '8139', '515', '7107', 'M', '7191', '81', 'w', 'v', '7887', '2761', 'B', 'm', '3973', 'n', 'Q', 'C', 'K', 'n', 'a', 'U', 2499, 'y']