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 = "\nimport sys\nfrom collections import deque, defaultdict\nimport copy\nimport bisect\nsys.setrecursionlimit(10 ** 9)\nimport math\nimport heapq\nfrom itertools import product, permutations,combinations\nimport fractions\n\nimport sys\ndef input():\n\treturn sys.stdin.readline().strip()\n\nalpha2num = lambda c: ord(c) - ord('a')\n\n\ndef num2alpha(num):\n\tif num<=26:\n\t\treturn chr(96+num)\n\telif num%26==0:\n\t\treturn num2alpha(num//26-1)+chr(122)\n\telse:\n\t\treturn num2alpha(num//26)+chr(96+num%26)\n\nA = input()\n\nloc_list = deque([])\nloc_list_last = deque([])\nnum = 0\nalpha_list = [-1] * 26\nalpha_list_last = [-1] * 26\nroop = 0\nfor i in range(len(A) - 1, -1, -1):\n\talphanum = alpha2num(A[i])\n\tif alpha_list[alphanum] == -1:\n\t\tnum += 1\n\t\talpha_list_last[alphanum] = i\n\talpha_list[alphanum] = i\n\tif num == 26:\n\t\tloc_list.appendleft(alpha_list)\n\t\tloc_list_last.appendleft(alpha_list_last)\n\t\talpha_list = [-1]*26\n\t\talpha_list_last = [-1]*26\n\t\troop += 1\n\t\tnum = 0\nloc_list.appendleft(alpha_list)\nloc_list_last.appendleft(alpha_list_last)\nans = deque([])\n#print(loc_list)\nfor i in range(26):\n\tif loc_list[0][i] == -1:\n\t\tx = i\n\t\tans.append(x)\n\t\tbreak\n\nif len(loc_list) > 1:\n\tmozi = x\n\tfor n in range(1, len(loc_list)):\n\t\tloc = loc_list[n][mozi]\n\t\t#print(loc, mozi)\n\t\tfor i in range(26):\n\t\t\tif loc_list_last[n][i] <= loc:\n\t\t\t\tans.append(i)\n\t\t\t\tmozi = i\n\t\t\t\tbreak\n#print(loc_list)\n\nans2 = []\n\nfor i in range(len(ans)):\n\tans2.append(num2alpha(ans[i] + 1))\nprint(''.join(ans2))"
_co = compile(_CODE, USER_FILENAME, "exec")
exec(_co, ns, ns)

```

Measured memory_bytes: 178820