#!/usr/bin/env python3 # -*- coding: utf-8-*- n = int(input()) a = n * (n+1) // 2 print(a)