In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 'A', 'K', 'D', 'b', 'I', '4139', '1131', 'D', 'k', 'V', '7005', 'z', 'l', 'X'], ['i', 'i', 'h', 'S', '4139', '1131', 'D', 'k', 'V', '7005', 'l', 1777]