#include using namespace std; #define rep(i,n) for(int i = 0; i < (int)n; i++) using ll = long long; constexpr ll MAX = 1e6; int main(){ ll n; cin >> n; for(ll x = 1; x*x*x <= n; x++) { if(x*x*x == n) { cout << "Yes" << endl; return 0; } } cout << "No" << endl; return 0; }