nyuuryoku = int(input()) + 1 goukei = 0 for suji in range(nyuuryoku): goukei = goukei + suji print(goukei)