Sampras Dsouza's submission of ATM | CodeChef