In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7965, 'M', '5043', 'a', '7371', 'W', 'A', 1735], [1989, 4397, 'K', '5043', 'a', '7371', 's', 9621, 'e']