A subsequence of a string S is a string that can be obtained by deleting zero or more characters from S without changing the order of the remaining characters.
For example, arc, artistic and (an empty string) are all subsequences of artistic; abc and ci are not.
You are given a string A consisting of lowercase English letters.
Find the shortest string among the strings consisting of lowercase English letters that are not subsequences of A.
If there are more than one such string, find the lexicographically smallest one among them.

-----Constraints-----
 - 1 \leq |A| \leq 2 \times 10^5
 - A consists of lowercase English letters.

-----Input-----
Input is given from Standard Input in the following format:
A

-----Output-----
Print the lexicographically smallest string among the shortest strings consisting of lowercase English letters that are not subsequences of A.

-----Sample Input-----
atcoderregularcontest

-----Sample Output-----
b

The string atcoderregularcontest contains a as a subsequence, but not b.

```python

USER_FILENAME = "<user_code>"
import sys, json, builtins
import math, heapq, bisect, itertools, functools, collections, statistics, fractions, decimal, operator, array, random, re, string, os, pathlib
try:
    import resource as _res
except Exception:
    _res = None
from collections import Counter, defaultdict, deque, OrderedDict
from functools import lru_cache, reduce
from itertools import accumulate, permutations, combinations, product
from math import gcd, ceil, floor, sqrt
from decimal import Decimal
try:
    from typing import *
except Exception:
    pass
try:
    sys.setrecursionlimit(1_000_000)
except Exception:
    pass
try:
    import site as _site
    try:
        _sys_sites = _site.getsitepackages() if hasattr(_site, "getsitepackages") else []
        for _p in _sys_sites:
            if _p and _p not in sys.path:
                sys.path.append(_p)
    except Exception:
        pass
    try:
        _usp = _site.getusersitepackages()
        if isinstance(_usp, str):
            _usp = [_usp]
        for _p in _usp:
            if _p and _p not in sys.path:
                sys.path.append(_p)
    except Exception:
        pass
except Exception:
    pass

ns = {"__name__": "__main__"}
for _k, _v in list(globals().items()):
    if not _k.startswith("_"):
        ns[_k] = _v
_CODE = 'import sys\n\nsys.setrecursionlimit(10 ** 6)\nint1 = lambda x: int(x) - 1\np2D = lambda x: print(*x, sep="\\n")\ndef MI(): return map(int, sys.stdin.readline().split())\ndef LI(): return list(map(int, sys.stdin.readline().split()))\ndef LLI(rows_number): return [LI() for _ in range(rows_number)]\n\ndef main():\n    inf = 10 ** 7\n    s = input()\n    n = len(s)\n    s += "".join(chr(i + 97) for i in range(26))\n    # print(s)\n    # 次をその文字にした時の「長さ、位置」\n    size = [0] * 26\n    pos = [n + i for i in range(26)]\n    # 解答復元のための移動先\n    nxt = [-1] * n\n    # 後ろの文字から順に見る\n    for i in range(n - 1, -1, -1):\n        min_size = inf\n        min_pos = -1\n        # 次をどの文字にすれば短くなるか調べる\n        # 同じ長さの時は辞書順優先\n        for sz, p in zip(size, pos):\n            if sz < min_size:\n                min_size = sz\n                min_pos = p\n        code = ord(s[i]) - 97\n        size[code] = min_size + 1\n        pos[code] = i\n        nxt[i] = min_pos\n        # print(size)\n        # print(pos)\n        # print(nxt)\n        # print()\n    # 最短になる最初の文字を調べて、nxtの順にたどる\n    min_size = inf\n    min_pos = -1\n    for sz, p in zip(size, pos):\n        if sz < min_size:\n            min_size = sz\n            min_pos = p\n    i = min_pos\n    ans = s[i]\n    while i < n:\n        i = nxt[i]\n        ans += s[i]\n    print(ans)\n\nmain()\n'
_co = compile(_CODE, USER_FILENAME, "exec")
exec(_co, ns, ns)

```

Measured memory_bytes: 14671