import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String outStr = String.valueOf(sum(1, n)); System.out.println(outStr); } public static int sum(int n1, int n2) { int result = (n1 + n2) * n2 / 2; return result; } }