#include <bits/stdc++.h> #include <atcoder/all> using namespace atcoder; using mint = modint1000000007; using namespace std; #define rep(i,n) for(int i=0;i<n;i++) const int MOD=1e9+7; const long long INF = 1LL<<60; void YN(bool x){ if(x) cout<<"Yes"; else cout<<"No"; } int main(){ int64_t N,S=1;cin>>N; bool f=false; for(int64_t i=1;i*i*i<=N;i++){ if(i*i*i==N)f=true; } YN(f); }