In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 'v', 607, '2229', 'g', '9221', '1513', '165', 'd', 'a', 2509, 7965], [2563, 'R', '2229', 'g', '9221', '1513', '165', 'd', 'C', 1749, 7133, 261, 5497]