This page is still under construction.

Parts of this page are still being built. What you see may change.

HicCup

Time limit1sMemory limit32 MB

Summary
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 NN, three gods leave a comment in turn.

  • God Apple writes 10N10N.
  • God Kariko writes 10N+1010N + 10.
  • The last god writes 20N+2020N + 20.

Seun cannot stop hiccuping, so he cannot add the three numbers himself. Read NN and print the sum of the numbers the three gods wrote in the comments.

Input

The first line contains an integer NN. (−100≤N≤100-100 \le N \le 100)

Output

Print the sum of the numbers the three gods wrote in the comments on the first line.

Examples3

  1. Example 1

    Input
    -1
    
    Expected output
    -10
    
  2. Example 2

    Input
    1
    
    Expected output
    70
    
  3. Example 3

    Input
    0
    
    Expected output
    30