#include using namespace std; using lli = long long; #define rep(i,n) for(int i=0;ibool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b ostream &operator<<(ostream &os, const vector &x){ os << "{"; for(size_t i = 0; i < x.size(); i++){ if(i < x.size()-1) os << x[i] << ", "; else os << x[i]; } os << "}"; return os; } int main(void){ lli n; cin >> n; for(lli k = 1; k*k*k <= n; k++){ if(k*k*k == n){ cout << "Yes" << endl; return 0; } } cout << "No" << endl; return 0; }