#include<iostream>using namespace std;int main(){ int i; int r1=1,r; int r2=1; for(i=3;i<=30;i++) { r=r1+r2;
r2=r1; r1=r; }cout<<r; return 0; }