100 atcoder#ABC071B. [ABC071B] Not Found

[ABC071B] Not Found

Score : 200200 points

Problem Statement

You are given a string SS consisting of lowercase English letters. Find the lexicographically (alphabetically) smallest lowercase English letter that does not occur in SS. If every lowercase English letter occurs in SS, print None instead.

Constraints

  • 1S1051 \leq |S| \leq 10^5 (S|S| is the length of string SS.)
  • SS consists of lowercase English letters.

Input

Input is given from Standard Input in the following format:

SS

Output

Print the lexicographically smallest lowercase English letter that does not occur in SS. If every lowercase English letter occurs in SS, print None instead.

atcoderregularcontest
b

The string atcoderregularcontest contains a, but does not contain b.

abcdefghijklmnopqrstuvwxyz
None

This string contains every lowercase English letter.

fajsonlslfepbjtsaayxbymeskptcumtwrmkkinjxnnucagfrg
d