#include <stdio.h>
int fuga(int x,int y){
int xy=1,i;
if(y==0)
return 1;
for(i=0;i<y;i++){
xy*=x;
}
return xy+fuga(x,y-1);
}
int main(void) {
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBmdWdhKGludCB4LGludCB5KXsKCWludCB4eT0xLGk7CglpZih5PT0wKQoJcmV0dXJuIDE7Cglmb3IoaT0wO2k8eTtpKyspewoJCXh5Kj14OwoJfQoKCXJldHVybiB4eStmdWdhKHgseS0xKTsKfQoJCgkKaW50IG1haW4odm9pZCkgewoJcHJpbnRmKCIlZCIsZnVnYSgyLDMpKTsKCXJldHVybiAwOwp9Cgo=