OverNite 2013 - Prelims | CodeChef