#abc248a. [abc248_a]Lacked Number
[abc248_a]Lacked Number
Problem Statement
You are given a string of length exactly consisting of digits. One but all digits from 0
to 9
appear exactly once in .
Print the only digit missing in .
Constraints
- is a string of length consisting of digits.
- All characters in are distinct.
Input
Input is given from Standard Input in the following format:
Output
Print the only digit missing in .
Sample Input 1
023456789
Sample Output 1
1
The string 023456789
only lacks . Thus, should be printed.
Sample Input 2
459230781
Sample Output 2
6
The string 459230781
only lacks . Thus, should be printed.
Note that the digits in the string may not appear in increasing order.