fork(10) download
  1. n=10**10010
  2. a=p=2*n
  3. i=1
  4. while a:a=a*i/(2*i+1);p+=a;i+=1
  5. print`p`[input()+1]
Success #stdin #stdout 1.33s 8976KB
stdin
10000
stdout
5