In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['x', 'T', 1697, 'g', 4779, 6787, 'M', 9305, 81, 'Z', 'h', 'C', '5481', 'o', '2223', 'Q', '9301', '5617', 'F', 'a', 'h', 8271, 4647, 'V', 8217, 'm', 5753, 'M', 4121], ['D', 769, 'h', 'C', '5481', 'o', '2223', 'Q', '9301', '5617', 'F', 'a', 'x', 7141, 'w', 's', 6843, 7117]