public class Solution { public static void Main(string[] args) { ulong n = ulong.Parse(Console.ReadLine()); ulong ans = n * (n + 1) / 2; Console.WriteLine(ans); } }