In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['A', 'p', 3189, 8413, 'K', '2405', 'r', 'O', 'v', '599', 'd', 'y', 9295, 'Q'], [5091, 'u', 'J', 'n', 807, 6239, 'K', '2405', 'r', 'O', 'v', '599', 'd', 'A', 'A', 6713]