document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int a[80]={0,1,2,2};
  7.     for(int i=0;i<76;i++){
  8.         a[i]=a[i-2]+a[i-3];
  9.     }
  10.     int n;
  11.     while(cin>>n){
  12.         cout<<a[n]<<endl;
  13.     }
  14.  
  15.  
  16.     return 0;
  17. }
');