In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 7957, 'n', 6659, 'r', 'g', 'm', 'f', '6055', '1761', '6407', 'h', 'k', '7319', 'a', 'C', 'O'], [269, 'W', 'g', 'm', 'f', '6055', '1761', '6407', 'h', 'k', '7319', 'R', 'i', 'n', 9165, 'b', 'G', 'l']