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