In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['N', 'u', 3361, 1203, '3783', 'p', '6037', '8811', '9059', 'M', 'e', 'x', 8843, 'D', 8413, 'h'], ['P', 4135, 4967, 9237, 1357, '3783', 'p', '6037', '8811', '9059', 'M', 'e', 'H', 'W', 4917, 'M']