#486. While: smallest digit
You get a positive integer n. Use a `while` loop to find its **smallest digit**.
### Input
One integer n (1 ≤ n ≤ 10⁹).
### Output
The answer.
Examples
Input
12321
Output
1
Input
4554
Output
4
💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.