Validate Number Sequence
The company you are working for wants to check if they are making a good progress. For that, they’d like to analyze the number of new users the company gets every month.
If the number of new users is strictly increasing, everything is great, otherwise, things might need to change.
The first line of the input contains a single integer
n
, indicating the number of months the program needs to analyze. The next n
lines contain a single integer on each line representing the number of new users for each month.The program should print
We are doing great!
if all the numbers are increasing, and This does not look that good...
otherwise.Input | Output |
5
10
20
40
100
101 | We are doing great! |
3
100
100
120 | This does not look that good... |
2
7
8 | We are doing great! |
Constraints
Time limit: 2 seconds
Memory limit: 512 MB
Output limit: 1 MB