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