using System; public class Program { static void Main() { int n = int.Parse(Console.ReadLine()); Console.WriteLine(n * (n + 1) / 2); } }