In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['m', 'R', '1287', 'J', '6053', 'l', '6613', 'V', 'a', 'S', 9647], ['e', 8349, 'n', 1603, 2031, '1287', 'J', '6053', 'l', '6613', 'V', 'A', 1135, 3685, 'H', 'E', 'T']