In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7685, 'H', 'c', 'Z', '7275', 'T', '2639', '1871', 'J', 'H', 'b', 'p', 857, 9031], ['F', 2449, '7275', 'T', '2639', '1871', 'J', 'H', 'b', 'Z', 'P', 3473]