#include #define int long long #define double long double using namespace std; const int MOD = 1000000007; const int INF = 1000000000000; using Graph = vector>; #define rep(i, n) for (int i = 0; i < (int)(n); i++) signed main(){ int N; cin >> N; for( int i = 1; i <= 1000000; i++ ){ if( i*i*i == N ){ cout << "Yes" << endl; return 0; } } cout << "No" << endl; }