In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['w', 5413, 3481, 2609, 819, '1599', 'h', 'M', '4685', 'Q', '6909', '7155', 'c', '8167', '7801', '2187', '7485', 'C', 481, 2073], ['p', 6283, 4881, 'z', 5287, 'M', 2235, 8695, '1599', 'h', 'M', '4685', 'Q', '6909', '7155', 'c', '8167', '7801', '2187', '7485', 'H', 3251, 4827, 'Y', 1525, 'l', 4837, 'i', 6127, 9477]