rachit nimavat's submission of Save The Princess | CodeChef