#include int main(void) { float s,a,m; scanf("%f", &a); s = 0; for (m = 1; m <= a; m++) { s = s + m; } printf("%f", s); return 0; }