In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['G', 6495, 769, 7377, 'l', '5967', '4935', '813', '6229', 'H', '1719', '469', '4775', 'f', 'V', 8231], [3855, 'p', 3579, '5967', '4935', '813', '6229', 'H', '1719', '469', '4775', 'f', 'C', 'K', 'Y', 1361, 'i', 4077, 331, 'B', 'C']