| CodeRams Practice Problem Archive |
|---|
| Finished |
You like sequences of numbers that are in sorted order. You have three integers, and you want to figure out whether or not they're sorted, i.e. the first number is less than (not equal to) the second number, and the second number is less than (not equal to) the third number.
The only line of input consists of three space-separated integers.
If the three integers given are sorted, output "SORTED" (no quotes). Otherwise, output "UNSORTED".
3 5 8
SORTED
6 6 7
UNSORTED
5 2 1
UNSORTED
| Name |
|---|


