#include <stdio.h> #include <math.h> int main(void) { int i,j; double an=0.0; scanf("%d",&i); for(j=0;j<=i-1;j++) an=an+pow(10,j)*3; printf("%d\n",(int)an); return 0; }