In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['z', 'c', 'J', '9627', 'G', 'y', 'W', 8695, 'C'], ['D', 'T', 3997, '9627', 'G', 'y', 'o', 'I', 2439]