n = int(input())
a,b = 0, 1
for i in range(n-1):
    a,b = b, a + b
print(b)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: