using System; using System.Linq; using System.Collections.Generic; public class Solution { public static void Main() { var n = int.Parse(Console.ReadLine()); long result = 1; for (int i = 2; i <= n; i++) { var t = i * 2 - 1; // sum(t) = t*(t+1)/2 result = (result * t) % 1000000007; result = (result * (t + 1) / 2) % 1000000007; } Console.WriteLine(result); } }