def main():

    x = int(eval(input()))

    print((x ** 3))



if __name__ == "__main__":

    main()
def main():

    a = int(eval(input()))

    print((a ** 3))



if __name__ == "__main__":

    main()

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


if __name__ == "__main__":
    main()

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


if __name__ == "__main__":
    main()

-    x = int(eval(input())) -    print((x**3)) +    a = int(eval(input())) +    print((a**3))