AtCoder Beginner Contest 140
A
Password
AtCoder
⌀ 0
原题
←B →
翻译中…

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.

翻译中…

样例

Input #1
2
Output #1
8
There are eight possible passwords: `111`, `112`, `121`, `122`, `211`, `212`, `221`, and `222`.
Input #2
1
Output #2
1
There is only one possible password if you can only use one kind of character.
题目信息
题号
abc140_a
时间限制
2 s
内存限制
1024 MB

题面与样例版权归 AtCoder 及出题人所有;中文翻译由 AI 生成(CI 管线),如有出入请以原文为准。