import std.stdio;void main(){for(int n,k,c,m;~scanf("%d",&n);puts=""){int[200]a;for(*a=m=1;n;m=k,n--)for(k=0;c||k