// editor2
#include<stdio.h>
#include<math.h>
int main(){
    int base,exponent;
    scan("%d",&base);
    scanf("%d",&exponent);
    if(base<0 || exponent<0)
    {
        printf("Invalid input");
        
    }
    else{
        int resukt =(int)pow(base,exponent);
        printf("%d",result);
    }
    return 0;
}