In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 'P', 'z', 1749, 'I', 3125, 5467, '1707', '7959', '4615', '363', 'L', '1749', '4321', '3279', 'c', 'R', '6503', 'G', '3589', 'J', 'i', 'q', 3787, 'O', 'P', 'k', 3505], [6667, 3833, 'g', 8191, 1807, 'L', 7893, 'Y', 'c', '1707', '7959', '4615', '363', 'L', '1749', '4321', '3279', 'c', 'R', '6503', 'G', '3589', 'J', 'i', 'a', 'T', 'i', 2317, 'V', 3181, 5129, 349, 4849, 1573, 3395, 'E']