using System;

namespace _0096
{
    class Program
    {
        static void Main(string[] args)
        {
            while (true)
            {
                string s = Console.ReadLine();
                if (string.IsNullOrEmpty(s)) break;
                int n = int.Parse(s);
                int ret = 0;
                for (int i = 0; i <= n; i++)
                {
                    for (int j = 0; j <= n - i; j++)
                    {
                        ret += n - i - j + 1;
                    }
                }
                Console.WriteLine(ret);
            }
        }
    }
}