C. Equal Digits
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

You are given an integer $$$n$$$. Find the smallest integer $$$k$$$ such that $$$k \ge n$$$ and all digits in $$$k$$$ are the same.

Input

The first and only line of the input contains a single integer $$$n$$$ $$$(1 \le n \le 10^{18})$$$.

Output

Output the value of $$$k$$$ as described in the statement.

Examples
Input
6528
Output
6666
Input
9952
Output
9999