uses crt;
var x,n,i:longint;
lt:real;
begin
clrscr;
write('Nhap co so x='); readln(x);
write('Nhap so mu n='); readln(n);
i:=1;
lt:=1;
while i<=n do
begin
lt:=lt*x;
i:=i+1;
end;
writeln(x,'^',n,'=',lt:0:0);
readln;
end.