using System; using System.Linq; namespace yukicoder { class Program { static void Main(string[] args) { int n = int.Parse(Console.ReadLine()); int result = n * (n + 1) /2; Console.WriteLine(result); } } }