main(a){for(scanf("%d",&a);putchar(49+a%2*6),a&=~1,a-=2;);}