using System; public class Test{ static void Main(){ string s = Console.ReadLine(); int a = int.Parse(s); Console.WriteLine("{0}",(a+1)*a/2); } }