In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['g', 'n', 4439, 945, '5985', 'T', 'R', '4057', '8123', '8095', 't', 9269, 2963, 'M', 'E'], ['n', 'C', 7929, 4727, 'Z', '5985', 'T', 'R', '4057', '8123', '8095', 'T', 1475, 5201]