#include <stdio.h>
int sum(int n){
int i;
int sum;
int num;
for(i=0;i<=n;i++){
sum = sum + num;
num = num*10 + n;
}
return n;
}
int main(void){
int i = 4;
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgc3VtKGludCBuKXsKCWludCBpOwoJaW50IHN1bTsKCWludCBudW07Cglmb3IoaT0wO2k8PW47aSsrKXsKCQlzdW0gPSBzdW0gKyBudW07CgkJbnVtID0gbnVtKjEwICsgbjsKCX0KCXJldHVybiBuOwp9CgppbnQgbWFpbih2b2lkKXsKCWludCBpID0gNDsKCXByaW50ZigiJWQiLHN1bSg0KSk7CglyZXR1cm4gMDsKfQ==