In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 'g', 'L', 'k', 'E', 'X', '923', '4817', '3373', 'y', '8017', 'h', 'c'], [5225, 2473, 'J', 'X', '923', '4817', '3373', 'y', '8017', 'q', 'H', 8159, 3013]