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