In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4509, 8521, 653, 'F', 'H', 5107, 'e', 'v', 'J', '9135', '2373', 'R', 'J', 'N', 'W', '8705', '1067', 'U', 6383, 'Q', 9247], ['o', 2897, 'a', 9323, 'J', '9135', '2373', 'R', 'J', 'N', 'W', '8705', '1067', 'M', 1927, 'h']