In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 5369, 'r', 3197, 'O', '1337', 'm', '9467', 'Y', 'r', 'R', 'Y', '5885', 'O', '3263', '3681', 'k', '7933', 'O', 3837, 'M', 5911, 4667, 5345, 'a', 2843, 2859], [7367, 'B', 'y', '1337', 'm', '9467', 'Y', 'r', 'R', 'Y', '5885', 'O', '3263', '3681', 'k', '7933', 'H', 1089]