def gokei(n): a,b = 1,0 while a < n : b = a + b a = a + 1 gokei(N)