#include <stdio.h>
#include <math.h>
f
(a
,b
){int i
=0,q
=pow(a
,b
);while(q
){i
+=q
%10;q
/=10;}return i
;}
int main(void) {
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxtYXRoLmg+CmYoYSxiKXtpbnQgaT0wLHE9cG93KGEsYik7d2hpbGUocSl7aSs9cSUxMDtxLz0xMDt9cmV0dXJuIGk7fQoKaW50IG1haW4odm9pZCkgewoJcHJpbnRmKCIlZCIsZig5LDQpKTsKCXJldHVybiAwOwp9Cg==