Ivan Deka's submission of A Weird Device | CodeChef