# 2019-11-18 00:38:19(JST)

import sys

# import collections

# import math

# from string import ascii_lowercase, ascii_uppercase, digits

# from bisect import bisect_left as bi_l, bisect_right as bi_r

# import itertools

# from functools import reduce

# import operator as op

import re

# import heapq

# import array

# from scipy.misc import comb # (default: exact=False)

# import numpy as np 





def main():

    n = int(sys.stdin.readline().rstrip())

    print((n ** 3))

    

if __name__ == "__main__":

    main()

import sys



n = int(sys.stdin.readline().rstrip())



def main():

    return n ** 3



if __name__ == '__main__':

    ans = main()

    print(ans)
# 2019-11-18 00:38:19(JST)
import sys

# import collections
# import math
# from string import ascii_lowercase, ascii_uppercase, digits
# from bisect import bisect_left as bi_l, bisect_right as bi_r
# import itertools
# from functools import reduce
# import operator as op
import re

# import heapq
# import array
# from scipy.misc import comb # (default: exact=False)
# import numpy as np
def main():
    n = int(sys.stdin.readline().rstrip())
    print((n**3))


if __name__ == "__main__":
    main()

import sys

n = int(sys.stdin.readline().rstrip())


def main():
    return n**3


if __name__ == "__main__":
    ans = main()
    print(ans)

-# 2019-11-18 00:38:19(JST) -# import collections -# import math -# from string import ascii_lowercase, ascii_uppercase, digits -# from bisect import bisect_left as bi_l, bisect_right as bi_r -# import itertools -# from functools import reduce -# import operator as op -import re +n = int(sys.stdin.readline().rstrip()) -# import heapq -# import array -# from scipy.misc import comb # (default: exact=False) -# import numpy as np + -    n = int(sys.stdin.readline().rstrip()) -    print((n**3)) +    return n**3 -    main() +    ans = main() +    print(ans)