using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace Problem523 { class Program { static void Main(string[] args) { long N = long.Parse(Console.ReadLine()); long ans = 1; for(long i=2; i <= 2* N; i++) { long j = i; if (j % 2 == 0) j /= 2; ans = ans * j % 1000000007; } Console.WriteLine(ans); } } }