In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['B', 'l', 5241, 6577, '5365', 'r', '3709', '8457', '2965', '793', '89', 'e', 'q'], ['X', 6013, 'v', 3749, 's', 'T', 5265, '5365', 'r', '3709', '8457', '2965', '793', '89', 'q', 'a', 'q', 'i']