#include int main() { using namespace std; cin.tie(nullptr)->sync_with_stdio(false); int64_t n; cin >> n; int64_t t = cbrtl(n); cout << (t * t * t == n ? "Yes\n" : "No\n"); }