#include <stdio.h>
int sum(int n){
int w = 0;
for(int i=1;i<=n;i++){
w+=i;
}
return w;
}
int main(void) {
int a,b;
a = 10;
b=sum(a);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CmludCBzdW0oaW50IG4pewoJaW50IHcgPSAwOwoJZm9yKGludCBpPTE7aTw9bjtpKyspewoJCXcrPWk7Cgl9CglyZXR1cm4gdzsKfQoKCmludCBtYWluKHZvaWQpIHsKCWludCBhLGI7CglhID0gMTA7CgliPXN1bShhKTsKCXByaW50Zigi77yR44GL44KJJWTjgb7jgafjga7lkozjga8lZCIsYSxiKTsKCXJldHVybiAwOwp9Cg==