fork download
  1. def Fibonacci(N):
  2. if N==1 : return 1
  3. if N==2 : return 1
  4. return Fibonacci(N-2)+Fibonacci(N-1)
  5.  
  6. x=int(input())
  7. print(Fibonacci(x))
  8.  
Success #stdin #stdout 0.11s 14148KB
stdin
25
stdout
75025