David's submission of Princess and Dragons | CodeChef