Files
PS/boj/11726.py
Gyubin Han 2600340c03 first commit
from old repository to a new repository
2024-04-30 16:59:10 +09:00

7 lines
107 B
Python

n=int(input())
arr=[0,1,2,3]
for i in range(4,n+1):
arr.append(arr[i-1]+arr[i-2])
print(arr[n]%10007)