# -*- coding: utf-8 -*- def solve2(n): ans = 1 for k in xrange(1, n + 1): ans *= k * ( 2 * k - 1) ans %= 1000000007 return ans def solve(n): t = 1 for k in xrange(1, n * 2 + 1): t *= k if k % 2 == 0: t /= 2 t %= 1000000007 return t if __name__ == "__main__": print solve(int(raw_input()))