Are digits non-decreasing?
Given a number
n, your task is to write a program that would tell if the digits of
nare not decreasing. The program should print
Yesif the digits are non-decreasing and
Time limit: 1 seconds
Memory limit: 512 MB
Output limit: 1 MB