let n = Int(readLine()!)! print((1 + n) * n / 2)