Problem2284--Lacked Number

2284: Lacked Number

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Time Limit: 2 sec / Memory Limit: 1024 MB

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.

Sample Input Copy

023456789

Sample Output Copy

1

HINT

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

Source/Category