n=int(input()) a=[0for i in range(n)] a[0]=1 a[1]=2 for i in range(2,n): a[i]=a[i-1]+a[i-2] print(a[n-1]%10007)# your code goes here
1
Standard output is empty
Traceback (most recent call last): File "./prog.py", line 4, in <module> IndexError: list assignment index out of range