Minimum number
Easy
Execution time limit is 1 second
Runtime memory usage limit is 128 megabytes
Construct and output the minimum number of those digits that DO NOT occur in the input string. Zero is not used. If the input data contains all digits from 1 to 9, output 0.
Input
The input string contains any text.
Output
Print the minimum number of digits that do not appear in the input line. If the input data contains all digits from 1 to 9, print 0.
Examples
Input #1
Answer #1
Submissions 1K
Acceptance rate 13%