In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 'S', 'V', 'f', 'd', '4285', 'N', 'I', 'q', 8107, 'Z', 'X', 'C', 'u'], ['a', 9185, 'V', 'f', 'd', '4285', 'N', 'I', 'O', 'H', 699, 'q', 'n']