Skip to content

Baekjoon 10826

1. Problem

문제 확인하기

2. Solution

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