- Time limit: 1.00 s
- Memory limit: 512 MB
You would like to write a list of positive integers using your computer. However, you can press each key – at most times during the process.
What is the last number you can write?
Input
The only input line contains the value of .
Output
Print the last number you can write.
Constraints
Example
Input:
5
Output:
12
Explanation: You can write the numbers . This requires that you press key five times, so you cannot write the number .