Add a trim key to mark whether the answer should be trimmed. Add a judgement to determine whether the trim should work.