In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 4363, 5969, 6787, 'v', 'q', 'x', '7623', '4239', 'V', 'N', 'e', '2167', '4567', 'C', 165, 'i', 'h', 6485], [1681, 817, '7623', '4239', 'V', 'N', 'e', '2167', '4567', 'L', 1785, 9293, 'w']