In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3267, 7105, 7037, 'D', 'H', '7199', 'H', '1937', 'R', 'G', 'k'], ['E', 'V', 'n', 'K', 'D', 'H', '7199', 'H', '1937', 'R', 'm', 'X', 8627, 'S']