import java.util.*; public class Main { public static void main(String[] args) { // 自分の得意な言語で // Let's チャレンジ!! Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int result = 0; for(int i = 1 ; i <= x ; i++){ result += i; } System.out.println(result); } }