yoyo's submission of ATM | CodeChef