In the natural number N, some of its digits were removed to obtain the largest natural number composed of distinct digits. What is this number?
A natural number N (1 \leq N \leq 10^{100}).
The answer to the problem.
Example 1