In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 'p', 6421, 929, 989, '3203', 'P', 'l', 'v', 's', '5947', 't', 'F', 'F', 'F'], [5347, 8243, '3203', 'P', 'l', 'v', 's', '5947', 'd', 'K', 'p', 5805, 'l']