def fibo(n, a, b):
if (n > 0):
fibo(n - 1, b, a + b)
print(a, end=" ")
if __name__ == "__main__":
N = 10
fibo(N, 0, 1)
def fibo(n, a, b):
if (n > 0):
fibo(n - 1, b, a + b)
print(a, end=" ")
if __name__ == "__main__":
N = 10
fibo(N, 0, 1)