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