In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9993, 771, 1085, 3699, '2595', '6841', '2301', 'c', '7795', 'y', 1265], ['M', 1593, '2595', '6841', '2301', 'c', '7795', 'k', 'x', 39, 9953, 4205]