Implementation of the ICPC player that got 3rd place this year.