Write a program which calculates the cube of a given integer x.
import sys

for line in sys.stdin:
    num = float(line)
    pNum = pow(num, 3.0)
    print(pNum)

import sys

for line in sys.stdin:
    num = int(line)
    pNum = pow(num, 3)
    print(pNum)
