#include <iostream>

int main() {
static int num=1;
if(num++ <=3){
    cout << num <<" ";
    main();
}
cout<< num <<" ";
return 0;
}