#!/usr/bin/env python
# -*- coding:utf-8 -*-
__author__ = 'MFC'
__time__ = '2019-04-12 11:43'

"""
https://blog.csdn.net/i_chaoren/article/details/77922939
Python字符串格式化--format()方法
"""

b = eval(input())
c=pow(b,3)
print("{:-^20}".format(c))