Shawn Anston's submission of ATM | CodeChef