giganticlightning's submission of ATM | CodeChef