#include <stdio.h>
void hoge( int n ){
 if(n==0) printf("\n");
 else{
  printf("%d", n);
  hoge(n-1);
 }
}
int main(void) {
 hoge(4);
 return 0;
}