#include using namespace std; #define ll long long #define rep(i, n) for (int i = 0; i < (n); i++) #define P pair int main() { ll n; cin >> n; ll now = 1; while (now*now*now <= n) { if (now*now*now == n) { cout << "Yes" << endl; return 0; } now++; } cout << "No" << endl; }