import strutils var n: int = stdin.readline.parseInt ans: int = n * (n + 1) div 2 echo ans