#include #include int main(){ int n, i; float x, s=0, xn=1; scanf("%d %f", &n, &x); if(n<0){ printf("-1\n"); return 1; } i=0; while(i