1. #Dimikoj Accept
  2. N = int(input())
  3. a,b,c = 1, 1, 2
  4. for c in range(N-2):
  5. a,b = b, a+b
  6. print(b)





  7. #2nd Rules
  8. t = int(input())
  9. n1 = 0
  10. n2 = 1
  11. c = 0
  12. while c < t:
  13. print(n1,end=',')
  14. nth = n1+n2
  15. n1 = n2
  16. n2 = nth
  17. c += 1



  18. #3rd Rules
  19. fib_x = 1
  20. fib_next = 1
  21. N = int(input())
  22. if N <= 2:
  23. fib_n = 1
  24. else:
  25. i = 3
  26. while i<= N:
  27. i += 1
  28. fib_temp = fib_x + fib_next
  29. fib_x = fib_next
  30. fib_next = fib_temp
  31. fib_n = fib_next
  32. print(fib_n)