In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 5129, 'X', 'F', '3585', '43', '5519', '7605', 'o', 'I', '7323', 'F', 2323, 8127, 7667, 'x', 8685, 'g', 'e', 't'], ['N', 1331, 'v', 3109, 'a', 'C', 'X', 'F', '3585', '43', '5519', '7605', 'o', 'I', '7323', 'k', 'f', 1235, 2293, 2787, 'b', 'f', 'b']