In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1269, 'e', 3415, '1991', '5307', '1955', 'f', 'P'], [8061, 'j', 'K', '1991', '5307', '1955', 'X', 'H', 1899]