coder_penguin's submission of Mr Pr in a Dilemma | CodeChef