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; result = (result * t * (t + 1) / 2) % 1000000007; } Console.WriteLine(result); } }