#include <iostream>
using namespace std;
int Potega (int a, int n){
if (n==1) return a;
else
return Potega(a,n-1)*a;
}
int main()
{
int x;
int y;
cout<<"Podaj podstawe potegi."<<endl;
cin>>x;
cout<<"Podaj wykladnik potegi."<<endl;
cin>>y;
cout<<"Potega("<<x<<","<<y<<")="<<Potega(x,y);
return 0;
}