#D7668. Number
Number
Number
problem
AOR Ika-chan, who loves feasts, defined "the number of feasts". A feast number is a natural number that includes "" in decimal notation. Can be any number from to .
Find the number of feasts out of the natural numbers below .
input
output
Output the number of feasts in one line. Also, output a line break at the end.
Example
Input
5124
Output
3
inputFormat
input
outputFormat
output
Output the number of feasts in one line. Also, output a line break at the end.
Example
Input
5124
Output
3
样例
5124
3