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