In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9217, 7035, 7451, '8041', '6003', 'D', '1057', 'z', 'i'], ['l', 'q', 'y', '8041', '6003', 'D', '1057', 'j', 4953, 'z', 'N']