#include<stdio.h>
#include<math.h>
int main(){
int i,x,n,term,sign;
i=1;
term=1;
sign=1;
long long int sum=0;
while(i<=n){
sum
=sum
+sign
*pow(x
,term
); term+=2;
sign=-sign;
i++;
}
return 0;
}
I2luY2x1ZGU8c3RkaW8uaD4KI2luY2x1ZGU8bWF0aC5oPgppbnQgbWFpbigpewppbnQgaSx4LG4sdGVybSxzaWduOwppPTE7CnRlcm09MTsKc2lnbj0xOwpsb25nIGxvbmcgaW50IHN1bT0wOwpzY2FuZigiJWQlZCIsJngsJm4pOwp3aGlsZShpPD1uKXsKICAgIHN1bT1zdW0rc2lnbipwb3coeCx0ZXJtKTsKICAgIHRlcm0rPTI7CiAgICBzaWduPS1zaWduOwogICAgaSsrOwp9CnByaW50ZigiJWxsZCIsc3VtKTsKcmV0dXJuIDA7Cn0=