A set of helper functions and classes for parsing text commonly found in programming competitions.