#include <stdio.h>
void imprime_digito(int numero){
if (numero != 0){
imprime_digito(numero / 10);
}
}
int main(){
int a;
printf("Insira um numero de quatro digitos: ");
imprime_digito(a);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+Cgp2b2lkIGltcHJpbWVfZGlnaXRvKGludCBudW1lcm8pewogICAgaWYgKG51bWVybyAhPSAwKXsKICAgICAgICBpbXByaW1lX2RpZ2l0byhudW1lcm8gLyAxMCk7CiAgICAgICAgcHJpbnRmKCIlZFxuIiwgbnVtZXJvICUgMTApOwogICAgfQp9CgppbnQgbWFpbigpewogICAgaW50IGE7CiAgICBwcmludGYoIkluc2lyYSB1bSBudW1lcm8gZGUgcXVhdHJvIGRpZ2l0b3M6ICIpOwogICAgc2NhbmYoIiVpIiwmYSk7CgogICAgcHJpbnRmKCJEaWdpdG9zOlxuIik7CiAgICBpbXByaW1lX2RpZ2l0byhhKTsKCiAgICByZXR1cm4gMDsKfQoK