apple pie's submission of The Rating Dilemma | CodeChef