#include #include using namespace std; int main() { ios::sync_with_stdio(false); cin.tie(0); long long n; cin >> n; long long t = 1; while (t * t * t < n) t++; if (t * t * t == n) cout << "Yes" << '\n'; else cout << "No" << '\n'; return 0; }