func main() var n: int :: cui@inputInt() do cui@print("\{(n+1)*n/2}") end func