#include using namespace std; typedef long long ll; ll n; int main(void){ cin>>n; for(ll i=1LL;i<=1000000;i++){ if(i*i*i==n){ cout<<"Yes"<