import java.util.*;
class Programsaddaa {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
int num=sc.nextInt();
int p =sc.nextInt();
long result = 1;
for (int i=p; i!=0;--i)
{
result *= num;
}
System.out.println(num+"^"+p+" = "+result);
}
}
Post a Comment