#include "stdio.h" #include "cstdlib" int main() { int N; int buff = 0; scanf("%d",&N); while(N != 0){ buff += N; N--; } return 0; }