A - Password 解説 /

実行時間制限: 2 sec / メモリ制限: 1024 MB

配点 : 100

問題文

高橋君は 3 桁のパスワードを設定しようとしています。

使える文字が 1 以上 N 以下の数字のみであるとき、設定できるパスワードが全部で何種類であるかを答えてください。

制約

  • 1 ≤ N ≤ 9
  • N は整数である。

入力

入力は以下の形式で標準入力から与えられる。

N

出力

設定できるパスワードが何種類であるかを出力せよ。


入力例 1

2

出力例 1

8

設定出来るパスワードは 111, 112, 121, 122, 211, 212, 221, 2228 種類です。


入力例 2

1

出力例 2

1

使える文字が 1 種類しか無い場合、パスワードは 1 種類しか設定出来ません。

Score : 100 points

Problem Statement

Takahashi is going to set a 3-character password.

How many possible passwords are there if each of its characters must be a digit between 1 and N (inclusive)?

Constraints

  • 1 \leq N \leq 9
  • N is an integer.

Input

Input is given from Standard Input in the following format:

N

Output

Print the number of possible passwords.


Sample Input 1

2

Sample Output 1

8

There are eight possible passwords: 111, 112, 121, 122, 211, 212, 221, and 222.


Sample Input 2

1

Sample Output 2

1

There is only one possible password if you can only use one kind of character.