#pragma GCC optimize("Ofast", "unroll-loops") #include using namespace std; int main(void){ long long N; cin >> N; for (long long i = 1; i * i * i <= N; ++i){ if (i * i * i == N){ cout << "Yes" << endl; return 0; } } cout << "No" << endl; return 0; }