using System;
public class Program
{
public static void Main()
Console.WriteLine("Adjon meg egy pozitív egész számot!");
int a = Convert.ToInt32(Console.ReadLine());
int b = 0;
for (int i = 1; i <= a; i++) {
b=b+i;
Console.WriteLine(b);
}