using System; using System.Collections; using System.Collections.Generic; using System.Linq; public class Hello{ public static void Main(){ int input = int.Parse(Console.ReadLine()); var output = Enumerable.Range(1, input).Sum(); Console.WriteLine(output); } }