function Main(input) { const N = input; let cal = 0; for(let i = 1; i <= N; i++) { cal = cal + i; } console.log(cal); } // Don't edit this line! Main(require("fs").readFileSync("/dev/stdin", "utf8"));