Minimum number#8535

Minimum number

1 second
128 megabytes
Easy

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 to , output .

Input

The input string contains any text.

Output

Print the minimum number formed from those digits that do not appear in the input line. If the input data contains all digits from to , print .

Examples

Example 1

Loading
Loading