In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9489, 'e', '373', 'k', 'M', '2745', 'Z', '2917', 'L', '7431', 'M', 'j', '7941', 'l', 'W', 'S', 'z', 6331, 6239, 5683, 'h', 1285, 'W', 'H'], [5891, 'E', 'D', 'k', 'l', 's', '373', 'k', 'M', '2745', 'Z', '2917', 'L', '7431', 'M', 'j', '7941', 'N', 'Q', 5767, 'E', 3851, 2003, 'C']