def II() -> int : return int(input()) n = II() print(n*(n+1)//2)