In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['e', 'K', 8151, 'V', 'z', '8267', '8309', 'f', '4051', '4913', 'i', 'T', 'O', 'g', 'J', 'z', 'x', 551, 'h'], [209, 8121, 'F', 'e', 'a', 2857, 945, 7719, 'z', '8267', '8309', 'f', '4051', '4913', 'i', 'T', 'O', 'o', 6389, 'f', 8425, 4535, 'A', 5495]