fork download
  1. N=int(input())
  2. a=1
  3. b=1
  4. for i in range (3,N+1):
  5. c=a+b
  6. a=b
  7. b=c
  8. print(c)
Success #stdin #stdout 0.1s 14192KB
stdin
7
stdout
13