In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Y', 'N', 5351, 'F', '3389', 's', 'G', '1735', '2935', '9407', 'y', 'u', '4973', '3543', '1789', 'F', 753, 7137], ['p', 7825, 'N', 'D', 4375, 'F', '3389', 's', 'G', '1735', '2935', '9407', 'y', 'u', '4973', '3543', '1789', 'B', 5769, 'p', 'I', 2783, 'B', 9865, 'G', 'M', 1215]