#include #define rep(i, l, r) for (int i = (l); i < (r); i++) using namespace std; typedef long long ll; int main() { ll N; cin >> N; for (ll i = 1; i * i * i <= N; i++) { if (i * i * i == N) { cout << "Yes" << endl; return 0; } } cout << "No" << endl; }