#include <stdio.h>
int main(void) {
int data[10],a,n,sum=0,i,j;
if(n<10)
{
data[0]=a;
sum=data[0]+sum;
for(i=1;i<n;i++)
{
data[i]=a*data[i-1];
sum=data[i]+sum;
}
}
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CmludCBkYXRhWzEwXSxhLG4sc3VtPTAsaSxqOwpzY2FuZigiJWQiLCZhKTsKc2NhbmYoIiVkIiwmbik7CmlmKG48MTApCnsKZGF0YVswXT1hOwpzdW09ZGF0YVswXStzdW07CmZvcihpPTE7aTxuO2krKykKewpkYXRhW2ldPWEqZGF0YVtpLTFdOwpzdW09ZGF0YVtpXStzdW07CgoKfQoKcHJpbnRmKCIlZCIsc3VtKTsKfQoJcmV0dXJuIDA7Cn0KCg==