In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 4761, 'B', 4067, '8365', '7649', 'e', '619', '1817', '2705', 'O', '4585', 'e', '729', '9801', '6093', '9527', 't', 'E', 1411, 'M', 6583], [5615, 'M', 'G', 'J', 5817, 'h', 3577, 2069, 'M', 'd', '8365', '7649', 'e', '619', '1817', '2705', 'O', '4585', 'e', '729', '9801', '6093', '9527', 't', 'g', 3903, 'W', 27, 'L', 'g', 'i', 'G', 'U']