백준 10870번
N = int(input())
def fibonacci(num):
if num == 0:
return 0
if num == 1:
return 1
return fibonacci(num-1) + fibonacci(num-2)
print(fibonacci(N))
N = int(input())
def fibonacci(num):
if num == 0:
return 0
if num == 1:
return 1
return fibonacci(num-1) + fibonacci(num-2)
print(fibonacci(N))