In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['H', 6721, '5001', 'G', 'Y', '7183', 'S', '8377', '7367', '8117', '8767', '1227', 'S', 'u', 'H'], [2869, 'Q', 117, 647, 'G', 'Z', 531, 6335, 7541, '5001', 'G', 'Y', '7183', 'S', '8377', '7367', '8117', '8767', '1227', 'S', 'f', 'o', 1621, 3399, 'V', 'W', 1825, 'N', 8661]