module Main where

import Data.Functor

main :: IO ()
main = do
  { [x] <- getInts
   ; putInts [x^3]}

getInts :: IO[Int]
getInts = map read . words <$> getLine

putInts :: [Int] -> IO ()
putInts  = putStrLn .???unwords . map show