B. Rain Collector
time limit per test
1 second
memory limit per test
256 megabytes
input
standard input
output
standard output

Due to the winter storm, Gabrielle was running low on water and resorted to her water bucket to collect rainwater. She decided to collect water for a total of 7 days. On the first day, she collected $$$i$$$ mL of water. She also knows that the rain is expected to increase by $$$x$$$ mL each day for the next 6 days, where $$$x$$$ is the sum of the digits of $$$i$$$. Output the total mL that Gabrielle will collect for the week.

Input

The first and only line of input contains $$$i$$$ $$$(0 \leq i \leq 10^5)$$$.

Output

Output the total $$$mL$$$ that Gabrielle will collect for the week.

Example
Input
70
Output
637