In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 3743, 'c', '1967', 'h', '5793', '1905', '8801', '5721', 'X', 'K', 2571, 'e', 'x', 8709], ['o', 8253, 'a', 2253, 5871, 'S', 'c', '1967', 'h', '5793', '1905', '8801', '5721', 'X', 'G', 'O', 'W']