import sys

input = sys.stdin.readline

from itertools import *

from collections import *



INF = float('inf')



""" Input

S = input().rstrip()

N, A, B = map(int, input().split())

A = list(map(int, input().split()))

D = [int(input()) for _ in range(N)]

"""



def main():

    N = int(eval(input()))

    print((N ** 3))





if __name__ == '__main__':

    main()

import sys

sys.setrecursionlimit(10 ** 9)

input = sys.stdin.readline

from itertools import permutations,  combinations, accumulate

from functools import *

from collections import deque, defaultdict, Counter

from heapq import heapify, heappop, heappush, heappushpop



INF = float('inf')

NIL = - 1



N = int(eval(input()))

print((N ** 3))

import sys

input = sys.stdin.readline
from itertools import *
from collections import *

INF = float("inf")
""" Input
S = input().rstrip()
N, A, B = map(int, input().split())
A = list(map(int, input().split()))
D = [int(input()) for _ in range(N)]
"""


def main():
    N = int(eval(input()))
    print((N**3))


if __name__ == "__main__":
    main()

import sys

sys.setrecursionlimit(10**9)
input = sys.stdin.readline
from itertools import permutations, combinations, accumulate
from functools import *
from collections import deque, defaultdict, Counter
from heapq import heapify, heappop, heappush, heappushpop

INF = float("inf")
NIL = -1
N = int(eval(input()))
print((N**3))

+sys.setrecursionlimit(10**9) -from itertools import * -from collections import * +from itertools import permutations, combinations, accumulate +from functools import * +from collections import deque, defaultdict, Counter +from heapq import heapify, heappop, heappush, heappushpop -""" Input -S = input().rstrip() -N, A, B = map(int, input().split()) -A = list(map(int, input().split())) -D = [int(input()) for _ in range(N)] -""" - - -def main(): -    N = int(eval(input())) -    print((N**3)) - - -if __name__ == "__main__": -    main() +NIL = -1 +N = int(eval(input())) +print((N**3))