In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['q', 'o', 'Z', '7335', 'j', 'r', '8751', 'A', 337, 2407], [9579, 6487, '7335', 'j', 'r', '8751', 'q', 237]