let main = (input) => { const data = input.split('\n'); const N = parseInt(data[0]); const sum = N * (N + 1) / 2; console.log(sum); } main(require('fs').readFileSync('/dev/stdin', 'UTF-8'));