HicCup
Time limit1sMemory limit32 MB
Given N, add 10N, 10N+10, and 20N+20, then print the total.
- Level
Easy1 of 10
- Topics
- Math, Implementation
- Solved
- No attempts yet
Problem
Seun posts often on an online community. The members there call a popular user a god, and God Apple and God Kariko show up under almost every post.
When Seun posts his favorite number , three gods leave a comment in turn.
- God Apple writes .
- God Kariko writes .
- The last god writes .
Seun cannot stop hiccuping, so he cannot add the three numbers himself. Read and print the sum of the numbers the three gods wrote in the comments.
Input
The first line contains an integer . ()
Output
Print the sum of the numbers the three gods wrote in the comments on the first line.