'use strict';

function main(input) {
  const N = input | 0;

  let sum = 0;
  for (let i = N; i > 0; i--) {
    sum += i;
  }

  console.log(sum);
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));
