let inpt = Int(readLine()!)! var ans = 0 for i in 1...inpt { ans+=i } print(ans)