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