In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3011, 321, 7225, 'm', '2289', 't', 'f', '943', '2271', 'X', 'T', 8363, 'c'], [9619, 5525, '2289', 't', 'f', '943', '2271', 'X', 'M', 'g', 'U', 'N']