Vivek Gupta's submission of Lukas and ATM | CodeChef