22.isSorted

Write a function named isSorted that receives an Array of numbers as parameter and returns true if the list is sorted (either ascending or descending).

Example 1

Input

numbers

=

Output

Example 2

Input

numbers

=

Output