In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['Z', 'f', '815', '5167', '5897', 'k', 'C', '4803', 'z', 'B', 4057, 'Z', 5583], [2283, 6997, 'v', 'q', 'J', '815', '5167', '5897', 'k', 'C', '4803', 'z', 'A', 'm', 'F', 8551]