import java.util.Scanner;
public class aaa{
public static void main(String [] argv){
Scanner abc = new Scanner(System.in);
while(abc.hasNext()){
long t = abc.nextLong();
long w = abc.nextLong();
long e =(long)Math.pow(t,w);
long f = (long)Math.pow(-2,63);
long g = (long)Math.pow(2,63);
if( f<=e && e <= g){
if(t ==0 && w !=0){
System.out.println("0");
}else if(t!=0 && w ==0){
System.out.println("1");
}else if(t==0 && w ==0){
System.out.println("All Over.");
}else{
System.out.println(e);
}
}
}
}
}
請問我哪裡寫錯 或者是少寫 我想了很久還是沒有想到