In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9393, 'e', 5329, '1001', '5653', 'Y', 'O', 655, 2971], [7385, 4595, 4337, '1001', '5653', 'Y', 'P', 5853]