In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4883, 8445, 'n', '8887', 'I', 'P', '3065', '1621', '6119', '313', 'x', '8789', 'h', 'Y', 783, 2995, 4267, 9529, 'C', 4439, 'u', 'N', 'M'], [837, 5055, 1949, 'f', 'm', 'M', 'h', 'M', 'n', '8887', 'I', 'P', '3065', '1621', '6119', '313', 'x', '8789', 'h', 'p', 'D', 4281, 3219, 201, 5869, 'q', 'Z', 8021, 1169]