Skip to content

Baekjoon 2747

1. Problem

문제 확인하기

2. Solution

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