#define _GLIBCXX_DEBUG #include using namespace std; int main() { long long N; cin >> N; for(long long i = 1; i*i*i <= 1000000000000000000; i++){ long long ans = i*i*i; if(ans == N){ cout << "Yes" << endl; return 0; }if(ans > N) break; } cout << "No" << endl; }