In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 7445, 'J', 'a', 'c', 'W', 'R', 3659, 'm', '1995', 'b', 'C', 'X', 'X', 'l', '7997', 't', 'A', 'z'], [3275, 't', 'L', 'm', '1995', 'b', 'C', 'X', 'X', 'l', '7997', 't', 'f', 'F', 'j', 'm', 'M', 5067, 'n']