import java.lang.*;
class Calculadora {
public static int power(int n, int p) {
if (n < 0 || p < 0) {
}
return (int)Math.
pow(n, p
); }
public static void main
(String[] args
) { System.
out.
println(power
(10,
2)); }
}
aW1wb3J0IGphdmEubGFuZy4qOwoKY2xhc3MgQ2FsY3VsYWRvcmEgewogICAgcHVibGljIHN0YXRpYyBpbnQgcG93ZXIoaW50IG4sIGludCBwKSB7CiAgICAJaWYgKG4gPCAwIHx8IHAgPCAwKSB7CiAgICAJCXRocm93IG5ldyBJbGxlZ2FsQXJndW1lbnRFeGNlcHRpb24oIm4gb3UgcCIpOwogICAgCX0KICAgICAgICByZXR1cm4gKGludClNYXRoLnBvdyhuLCBwKTsKICAgIH0KICAgIHB1YmxpYyBzdGF0aWMgdm9pZCBtYWluKFN0cmluZ1tdIGFyZ3MpIHsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4ocG93ZXIoMTAsIDIpKTsKICAgIH0KfQ==