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