Increasing decreasing sequence

Output Format
Print boolean output - “true” or “false” defining whether the sequence is increasing - decreasing or not.

Sample Input
5
1
2
3
4
5
Sample Output
true

sir i find the above sequence only as increasing and not decreasing still the output is true what is the reason
the first line in input contains the no of elements in the sequence

it is mentioned in the question that increasing and decreasing sequence could be of length 0.