In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['v', 'X', 'a', 'P', '3171', 'K', '751', '3275', 'T', 2029], ['y', 5351, 'b', '3171', 'K', '751', '3275', 'H', 8201]