Tanya Revnivaya's submission of Dilemma | CodeChef