In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['f', 3577, 1329, 'V', 'n', 'r', '5121', '7757', 'A', 'O', 'h', 'E', 'z', 6015, 'c'], ['K', 'p', 8737, 'x', 'r', '5121', '7757', 'A', 'O', 'q', 'e', 7609, 9861, 'p']