AtCoder Beginner Contest 140 - Password

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-----
2

-----Sample Output-----
8

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

Difficulty: EASY

Starter code:

Solutions:
num = int(input())
print(num * num * num)


x = int(input())
res = x ** 3
print(res)


N = int(input().rstrip())
print(N ** 3)


a = int(input())
print(int(a ** 3))


x = int(input())
print(x ** 3)


x = input()
a = int(x)
print(a * a * a)


inp = int(input())
print(inp * inp * inp)


def resolve():
	n = int(input())
	print(n ** 3)
resolve()


a = int(input())
ans = a ** 3
print(ans)


n = int(input())
ans = n ** 3
print(ans)


A = int(input())
print(str(A ** 3))


N = input()
N = int(N)
print(N ** 3)


n = int(input())
print(n ** 3)


a = int(input())
a = a * a * a
print(a)


print(int(int(input()) ** 3))


N = int(input())
n = N * N * N
print(n)


N = int(input())
ans = N ** 3
print(ans)


n = int(input())
m = n ** 3
print(m)


n = int(input())
k = int(n ** 3)
print(k)


n = int(input())
a = pow(n, 3)
print(a)


v = input()
v = int(v)
print(v ** 3)


t = int(input())
t = t ** 3
print(t)


N = input()
N = int(N)
print(N * N * N)


N = int(input())
print(N * N ** 2)


m = int(input())
print(m ** 3)


n = int(input())
n3 = n * n * n
print(n3)


N = int(input())
print(pow(N, 3))


n = int(input())
A = n ** 3
print(A)


x = int(input())
ans = x * x * x
print(ans)


p = int(input())
print(p ** 3)


a = input()
b = int(a) ** 3
print(b)


N = int(input())
S = N ** 3
print(S)


print(str(int(input()) ** 3))


a = int(input())
answer = a ** 3
print(answer)


N = int(input())
n = N ** 3
print(n)


N1 = int(input())
print(N1 ** 3)


x = int(input())
print(pow(x, 3))


A = int(input())
print(A * A * A)


t = int(input())
print(t * t * t)


n = input()
a = int(n) * int(n) * int(n)
print(a)


i = int(input())
print(i ** 3)


N = int(input())
T = 3
print(N ** 3)


N = int(input())
print('%d' % N ** 3)


i = int(input())
print(i * i * i)


s = input()
n = int(s)
d = n * n * n
print(d)


N = int(input())
A = N * N * N
print(A)


n = int(input())
print(n * n * n)


_N = int(input())
print(_N * _N * _N)


N = int(input())
print('{}'.format(N ** 3))


n = int(input())
c = n ** 3
print(c)


N = int(input())
perm = N ** 3
print(perm)


N = int(input())
X = N ** 3
print(X)


max = int(input())
print(max ** 3)


N = int(input())
print(str(N * N * N))


N = int(input())
sum = N * N * N
print(sum)


N = int(input())
print(str(N ** 3))


len = int(input())
print(len ** 3)


N = int(input())
s = N * N * N
print(s)


h = int(input())
print(h ** 3)


A = int(input()) ** 3
print(A)


def A():
	print(int(input()) ** 3)
A()


S = int(input())
print(S ** 3)


s = input()
b = int(s)
a = b * b * b
print(a)


print(pow(int(input()), 3))


n = input()
e = int(n)
print(e * e * e)


I = int(input())
print(I * I * I)


N = int(input())
x = N * N * N
print(x)


N = int(input(''))
a = N ** 3
print(a)


N = int(input())
ans = N * N * N
print(ans)


N = int(input())
S = N * N * N
print(S)


i = int(input())
print(str(i * i * i))


N = int(input().strip())
print(N ** 3)


n = int(input())
x = n * n * n
print(x)


m = int(input())
print(m * m * m)


N = int(input())
anc = N ** 3
print(anc)


n = int(input().strip())
print(n ** 3)


A = int(input())
P = A ** 3
print(P)


n = int(input())
num = n ** 3
print(num)


A = int(input())
print(pow(A, 3))


p = int(input())
print(p * p * p)


N = int(input())
O = N ** 3
print(O)


N = int(input())
Num = N * N * N
print(Num)


k = int(input())
print(k ** 3)


r = int(input())
print(r ** 3)


N = int(input())
if 1 <= N <= 9:
	print(N ** 3)


N = int(input().rstrip())
print(N * N * N)


n = int(input())
x = n ** 3
print(x)


s = int(input())
print(s ** 3)


print('{}'.format(int(input()) ** 3))


chars = int(input())
print(chars ** 3)


import sys
N = int(input())
print(N * N * N)


d = int(input())
print(d ** 3)


N = int(input())
Ans = N ** 3
print(Ans)


n = int(input())
s = n ** 3
print(s)


a = int(input())
print(str(a ** 3))


G = int(input())
print(G ** 3)


N = int(input())
M = N ** 3
print(M)


n = int(input())
print('%d' % n ** 3)


N = int(input().strip())
print(N * N * N)


N = int(input())
c = 0
c = N ** 3
print(c)


[print(int(n) ** 3) for n in input()]


a = input()
a = int(a)
b = a * a * a
print(b)


N = int(input())
r = N ** 3
print(r)


a = int(input())
ans = a * a * a
print(ans)


x = int(input())
y = x ** 3
print(y)


n = int(input())
print('{} '.format(n * n * n))


i = int(input())
r = i * i * i
print(r)


N = int(input())
sss = N ** 3
print(sss)


s = int(input())
print(s * s * s)


num = int(input())
print(num ** 3)


a = int(input())
s = pow(a, 3)
print(s)


N = int(input())
pw = N ** 3
print(pw)


a = int(input())
num = a ** 3
print(num)


N = int(input())
output = N * N * N
print(output)


N = int(input())
ANS = N ** 3
print(ANS)


n = int(input())
p = n ** 3
print(p)


n = int(input())
s = 1
print(s * n * n * n)


n = int(input())
res = n * n * n
print(res)


x = int(input())
print(x * x * x)


M = int(input())
print(M * M * M)


inp = int(input())
print(inp ** 3)


num = int(input())
print(pow(num, 3))


N = int(input())
r = N * N * N
print(r)


N = int(input())
i = N ** 3
print(i)