In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 5983, 'E', 6691, 'x', 6511, 3905, 'A', '2023', 'j', '2557', '9801', '3717', 'S', 'U', 'I', '5475', '1619', 'G', 5501, 'K', 'h', 2729, 'D', 8299, 4399, 's', 737], [5427, 8515, 2299, 'j', 'm', 't', 'A', '2023', 'j', '2557', '9801', '3717', 'S', 'U', 'I', '5475', '1619', 'w', 'B', 7211, 1485]