n=10**10010a=p=2*ni=1while a:a=a*i/(2*i+1);p+=a;i+=1print`p`[input()+1]
10000
5
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!