Write a program that prints 1 if the given statement is true and 0 otherwise.
digits of the original four-digit number N form a strictly increasing sequence
input
the input is the number N (1000<=N<=9999)
output
1 - if all digits of the number form a strictly increasing sequence
0 - otherwise
EXAMPLE:
input: 1234
output: 1
EXAMPLE:
input: 1224
output: 0