Rajat Mittal's submission of A Weird Device | CodeChef