100 atcoder#ABC140A. [ABC140A] Password
[ABC140A] Password
Score : points
Problem Statement
Takahashi is going to set a -character password.
How many possible passwords are there if each of its characters must be a digit between and (inclusive)?
Constraints
- is an integer.
Input
Input is given from Standard Input in the following format:
Output
Print the number of possible passwords.
2
8
There are eight possible passwords: 111
, 112
, 121
, 122
, 211
, 212
, 221
, and 222
.
1
1
There is only one possible password if you can only use one kind of character.