#yuki741 n=int(raw_input()) res=1 for i in xrange(1,10): res*=n+i for i in xrange(1,10): res/=i print res%(10**9+7)