In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 'M', 7727, 'Y', '7065', '7817', 't', 'x', 'T'], ['E', 1385, 5497, 'Y', '7065', '7817', 'L', 6169]