uwi's submission of King and Magician | CodeChef