In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['L', 7527, 'X', 8843, 6065, 'p', 'J', 'y', 'L', '2757', '6045', '1163', '8943', 'y', 'd', 'k', 'e', 'y', 5709, 'p'], [6643, 6227, 'J', 'y', 'L', '2757', '6045', '1163', '8943', 'c', 'V']