#include<iostream.h>
float power(float x, int n)
{
int i;
float t=1;
for(i=1;i<=n;i++)
t=t*x;
return t;
}
void main()
{
float x,y;
int n;
float power(float x,int n);
cin>>x>>n;
y=power(x,n);
cout<<x<<"的"<<n<<"次方是: "<<y<<endl;
}
float power(float x, int n)
{
int i;
float t=1;
for(i=1;i<=n;i++)
t=t*x;
return t;
}
void main()
{
float x,y;
int n;
float power(float x,int n);
cin>>x>>n;
y=power(x,n);
cout<<x<<"的"<<n<<"次方是: "<<y<<endl;
}