import java.util.Scanner; import java.util.stream.IntStream; public class No0480 { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); System.out.println(IntStream.rangeClosed(1, N).sum()); } }