In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['h', 9019, '2031', 'E', 'y', 'A', '1173', 'M', 4967, 'r'], ['l', 'H', 4237, '2031', 'E', 'y', 'A', '1173', 'E', 'q', 5693]