In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8373, 1011, 'c', 'A', '2917', 'b', 'W', 'O', '5501', 'P', 'A', 4533, 2039, 'l', 7409, 'g', 3889], [3609, 'q', 5647, 4391, 'g', 'I', 'c', 'A', '2917', 'b', 'W', 'O', '5501', 'P', 'p', 'h']