Vichitr's submission of A Weird Device | CodeChef