Utkarsh Belwal's submission of ATM | CodeChef