import Control.Applicative import Control.Monad import System.IO main :: IO () main = do k_temp <- getLine let k = read k_temp :: Int print $ k^3