using System; using System.IO; using System.Collections.Generic; using System.Linq; namespace AtCoder.Contest.B { static class Program { public static void Solve(Scanner cin) { long n = cin.ReadInt(); Console.WriteLine(Calc.nCr(n + 2, 2)); } public static void Main(string[] args) { var sw = new StreamWriter(Console.OpenStandardOutput()) { AutoFlush = false }; Console.SetOut(sw); var cin = new Scanner(); Solve(cin); Console.Out.Flush(); } } public static partial class Calc { public static long nCr(long n, long r) { if (n < 0 || r < 0 || r > n) return 0; return nPr(n, r) / Factorial(r); } public static long nPr(long n, long r) { if (n < 0 || r < 0 || r > n) return 0; return FactorialDivision(n, n - r); } private static long FactorialDivision(long topFactorial, long divisorFactorial) { long result = 1; for (long i = topFactorial; i > divisorFactorial; i--) { result *= i; } return result; } public static long Factorial(long i) { return i <= 1 ? 1 : i * Factorial(i - 1); } } class Scanner { string[] s; int i; char[] cs = new char[] { ' ' }; public Scanner() { s = new string[0]; i = 0; } public string Read() => ReadString(); public string ReadString() { if (i < s.Length) return s[i++]; string st = Console.ReadLine(); while (st == "") st = Console.ReadLine(); s = st.Split(cs, StringSplitOptions.RemoveEmptyEntries); if (s.Length == 0) return ReadString(); i = 0; return s[i++]; } public string[] ReadStringArray(int N) { string[] Array = new string[N]; for (int i = 0; i < N; i++) { Array[i] = ReadString(); } return Array; } public int ReadInt() { return int.Parse(ReadString()); } public int[] ReadIntArray(int N, int add = 0) { int[] Array = new int[N]; for (int i = 0; i < N; i++) { Array[i] = ReadInt() + add; } return Array; } public long ReadLong() { return long.Parse(ReadString()); } public long[] ReadLongArray(int N, long add = 0) { long[] Array = new long[N]; for (int i = 0; i < N; i++) { Array[i] = ReadLong() + add; } return Array; } public double ReadDouble() { return double.Parse(ReadString()); } public double[] ReadDoubleArray(int N, double add = 0) { double[] Array = new double[N]; for (int i = 0; i < N; i++) { Array[i] = ReadDouble() + add; } return Array; } public T1 ReadValue() => (T1)Convert.ChangeType(ReadString(), typeof(T1)); } }