123456789101112131415161718
  1. /**
  2. * Created by iyasuwatts on 10/17/17.
  3. */
  4. import java.util.*;
  5. public class Main {
  6. public static void main(String[] args){
  7. Scanner input = new Scanner(System.in);
  8. int number = input.nextInt();
  9. int sum=0;
  10. for (int x=1; x<=number; x++){
  11. sum += x;
  12. }
  13. System.out.println(sum);
  14. }
  15. }