In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8565, 'O', 7537, '1033', 'A', 'a', '3673', '3775', 'P', 4993, 'S', 'O', 9299], ['X', 9521, '1033', 'A', 'a', '3673', '3775', 'I', 't', 'M']