using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; class Program { static void Main(string[] args) { new Magatro().Solve(); } } class Magatro { private int N; private const int Mod = 1000000007; private long Pow(long a,long b,int mod) { long res = 1; while (b > 0) { if(b%2 == 1) { res *= a; res %= mod; } a *= a; a %= mod; b /= 2; } return res; } public void Solve() { N = int.Parse(Console.ReadLine()); long ans = 1; for(int i = 1; i <= N * 2; i++) { ans *= i; ans %= Mod; } long a = Pow(2, N,Mod); long b = Pow(a, Mod - 2, Mod); ans *= b; ans %= Mod; Console.WriteLine(ans); } }