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 = '#!/usr/bin/env python3\n\ndef main():\n    A = input()\n\n    n = len(A)\n\n    next_i = []\n    ct = [n] * 26\n    orda = ord("a")\n    for i in range(n - 1, -1, -1):\n        ct[ord(A[i]) - orda] = i\n        next_i.append(ct.copy())\n\n    next_i.reverse()\n\n    dp = [0] * (n + 1)\n    dp[n] = 1\n    j = -1\n    for i in range(n - 1, -1, -1):\n        ct = next_i[i]\n        if max(ct) < n:\n            j = i\n            break\n        else:\n            dp[i] = 1\n\n    if j == -1:\n        ct = next_i[0]\n        for c in range(26):\n            if ct[c] == n:\n                print((chr(orda + c)))\n                return\n\n    rt = [0] * n\n    for i in range(j, -1, -1):\n        ct = next_i[i]\n        min_c = 0\n        min_v = dp[ct[0] + 1]\n        for c in range(1, 26):\n            v = dp[ct[c] + 1]\n            if v < min_v:\n                min_c = c\n                min_v = v\n        rt[i] = min_c\n        dp[i] = min_v + 1\n\n\n    r = \'\'\n    i = 0\n    while i < n:\n        if dp[i] == 1:\n            for c in range(26):\n                if not chr(orda + c) in A[i:]:\n                    r += chr(orda + c)\n                    break\n            break\n        r += chr(orda + rt[i])\n        i = next_i[i][rt[i]] + 1\n\n\n    print(r)\n\n\ndef __starting_point():\n    main()\n\n\n__starting_point()'
_co = compile(_CODE, USER_FILENAME, "exec")
exec(_co, ns, ns)

```

Measured memory_bytes: 14701