100 atcoder#ABC248A. [ABC248A] Lacked Number

[ABC248A] Lacked Number

Score : 100100 points

Problem Statement

You are given a string SS of length exactly 99 consisting of digits. One but all digits from 0 to 9 appear exactly once in SS.

Print the only digit missing in SS.

Constraints

  • SS is a string of length 99 consisting of digits.
  • All characters in SS are distinct.

Input

Input is given from Standard Input in the following format:

SS

Output

Print the only digit missing in SS.

023456789
1

The string 023456789 only lacks 11. Thus, 11 should be printed.

459230781
6

The string 459230781 only lacks 66. Thus, 66 should be printed.

Note that the digits in the string may not appear in increasing order.