import java.util.Scanner; public class Sum { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int sum = 0; int a = sc.nextInt(); for (int i = 1; i <= a ; i++ ){ sum += i; } System.out.println(sum); } }