In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['q', 7487, '635', 'n', 'i', '3483', '5221', 'j', 'M', 7025, 'n', 'h'], [2205, 9393, 'p', 4033, '635', 'n', 'i', '3483', '5221', 'y', 'g']