mod = 1000000007 eps = 10**-9 def main(): import sys input = sys.stdin.readline N = int(input()) ans = 1 for i in range(1, 2*N+1): if i%2: ans = (ans * i)%mod else: ans = (ans * (i//2))%mod print(ans) if __name__ == '__main__': main()