Module: (C++) Workshop-2 "Chess and chess players". Conditional operator


Problem

1 /13


Rated

Problem

Under the new rules, chess players who wish to take part in competitions must register through a special form. In the starting list, chess players are indicated in descending order of their international rating. In the first ten minutes after the registration was opened, data were received from three chess players. The tournament secretary decided to find out if the chess players registered in the ascending order of their ratings or not.
Write a program that will determine whether participants are registered in ascending order of rating or not.
Input: Three numbers are input, separated by a space
Output: The phrase "on growth!" Must be displayed if the ratings are entered in ascending order, or the message "dont on growth!" If they are entered in a different order

Example 1
Input
1650 1700 1720
Output
on growth!

Example 2
Input
1750 1700 1720
Output
dont on growth!