In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['T', 10015, 'A', 'R', 'I', '6773', 'O', 'K', 3939], [7011, 7615, 'R', 'I', '6773', 'O', 'q', 'A', 'Z']