#include <stdio.h>
int sum(int n){
return(n*n+n)/2;
}
int main(void) {
int a,b,n;
a = n;
b = sum(a);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgc3VtKGludCBuKXsKcmV0dXJuKG4qbituKS8yOwp9CgppbnQgbWFpbih2b2lkKSB7CglpbnQgYSxiLG47CnNjYW5mKCImbiIpOwogICAgYSA9IG47CiAgICBiID0gc3VtKGEpOwogICAgcHJpbnRmKCIx44GL44KJJWTjgb7jgafjga7lkozjga8lZCIsIGEsYiApOwoJcmV0dXJuIDA7Cn0K