In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 'h', 'N', 'H', '9557', 'I', '2805', '7203', 'g', 'm', 'i', '2101', 'z', 'B', 'c', 't', 'f'], ['g', 'h', 'A', '9557', 'I', '2805', '7203', 'g', 'm', 'i', '2101', 'z', 'B', 'f', 10027, 'v', 'X', 7895, 'F', 2881, 'o']