#include #include int main(void) { int check =0; long long int N,i; scanf("%lld", &N); for (i = sqrt(sqrt(N)); i*i*i <= N; i++) { if (N = i * i * i) { check = 1; } } if (check) { printf("Yes\n"); }else { printf("No\n"); } }