Skip to content

Baekjoon 2748

1. Problem

문제 확인하기

2. Solution

n = int(input())
f = 0
s = 1
tmp = 0
for i in range(n):
    tmp = f
    f = s
    s = tmp + s
print(f)