Write a program that reads an array of int's and checks if the array is sorted ascending (from smallest to largest number).
Input data format
The first line contains the size of an array.
The second line contains elements of the array separated by spaces.
Output data format
Only a single value: true or false.