n = gets.to_i ans = (1 .. 2 * n).inject(1) do |s,v| if v.odd? (s * v) % 1000000007 else (s * v / 2) % 1000000007 end end puts ans