#include #include #include #include #include #include using namespace std; const int maxn=210; struct gjd { static const int maxl=1000; int a[maxl];int len; gjd(int x=0) { int i=0; memset(a,0,sizeof(a)); while (x) { a[i++]=x%10; x/=10; } len=i+1; } gjd operator+(const gjd &rhs)const { gjd ans; int x=0; for (int i=0;i=0;--i) { if (a[i]||i==0) { for (;i>=0;--i)printf("%d",a[i]); printf("\n"); return; } } } }; gjd ans[maxn]; int main() { int n; ans[0]=ans[1]=1; for(int i=2;i