use std::io::*; use std::str::*; fn main() { let n:i64 = read(); let mo:i64 = 1000000007; let mut ans = 1; for i in 1..(n+1){ ans = ( ans * i)%mo *(2*i-1); ans = ans % mo; } println!("{}",ans); } fn read() -> T { let stdin = stdin(); let stdin = stdin.lock(); let s = stdin.bytes().map(|c| c.unwrap() as char) .skip_while(|c| c.is_whitespace()) .take_while(|c| !c.is_whitespace()) .collect::(); s.parse::().unwrap_or_else(|_| panic!("Faild to parse {}", s)) }