#include <stdio.h>
int potencia(int b, int n){
if(n == 0){
return 1;
}
return b * potencia(b, n-1);
}
int main(){
int b = 2;
int expo = 3;
int pot = potencia(b, expo);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgcG90ZW5jaWEoaW50IGIsIGludCBuKXsKCiAgICBpZihuID09IDApewogICAgICAgIHJldHVybiAxOwogICAgfQoKICAgIHJldHVybiBiICogcG90ZW5jaWEoYiwgbi0xKTsKfQoKaW50IG1haW4oKXsKICAgIGludCBiID0gMjsKICAgIGludCBleHBvID0gMzsKCiAgICBpbnQgcG90ID0gcG90ZW5jaWEoYiwgZXhwbyk7CiAgICBwcmludGYoIiVkXG4iLCBwb3QpOwoKICAgIHJldHVybiAwOwp9IAo=