#include<iostream> using namespace std; int main() { int a1=0; int a2=1; int n; cin>>n; for(int i=1;i<=n-1;i++){ int temp=a1; a1=a2; a2=a2+temp; } cout<<a1; return 0; }