Problem B
99 Problems

Ingrid is the founder of a company that sells bicycle parts.
She used to set the prices of products quite arbitrarily, but
now she has decided that it would be more profitable if the
prices end in
You are given a positive integer
Input
The input contains one integer
Output
Print one integer, the closest positive integer that ends in
Sample Input 1 | Sample Output 1 |
---|---|
10 |
99 |
Sample Input 2 | Sample Output 2 |
---|---|
249 |
299 |
Sample Input 3 | Sample Output 3 |
---|---|
10000 |
9999 |