local ffi = require("ffi") local C = ffi.C ffi.cdef[[ long long atoll(const char*); ]] local function lltonumber(str) return C.atoll(str) end local n = lltonumber(io.read()) for i = 1, 1000000 do i = 1LL * i if i * i * i == n then print("Yes") os.exit() end end print("No")