putstr ("enter number");
var num = readline();
putstr("enter exp");
var exp = readline();
var result = 1;
var cnt = 1;
while (cnt <= exp){
result *= num;
cnt++;
}
alert(result);// your code goes here
cHV0c3RyICgiZW50ZXIgbnVtYmVyIik7CgkJdmFyIG51bSA9IHJlYWRsaW5lKCk7CgkJcHV0c3RyKCJlbnRlciBleHAiKTsKCQl2YXIgZXhwID0gcmVhZGxpbmUoKTsKCQl2YXIgcmVzdWx0ID0gMTsKCQl2YXIgY250ID0gMTsJCQp3aGlsZSAoY250IDw9IGV4cCl7CiByZXN1bHQgKj0gbnVtOwogY250Kys7CiB9CiBhbGVydChyZXN1bHQpOy8vIHlvdXIgY29kZSBnb2VzIGhlcmU=