In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 'p', 8329, 7379, 'V', '3907', '3989', '7185', 'D', 'M', '825', '1447', 'x', '6641', 'm', 'm', 'b', 9169, 'I'], [5455, 'B', 'w', 'C', 'R', 'w', 3623, 'e', '3907', '3989', '7185', 'D', 'M', '825', '1447', 'x', '6641', 'm', 'v', 1701, 'm', 'Q', 'z']