public class Main {
private static String OS
= System.
getProperty("os.name").
toLowerCase(); public static void main
(String[] args
) { try {
System.
out.
println(java.
net.
Inet4Address.
getLocalHost().
getHostAddress()); }
System.
out.
println(e.
getStackTrace().
toString()); }
}
}
cHVibGljIGNsYXNzIE1haW4gewpwcml2YXRlIHN0YXRpYyBTdHJpbmcgT1MgPSBTeXN0ZW0uZ2V0UHJvcGVydHkoIm9zLm5hbWUiKS50b0xvd2VyQ2FzZSgpOwpwdWJsaWMgc3RhdGljIHZvaWQgbWFpbihTdHJpbmdbXSBhcmdzKSB7CiAgICBTeXN0ZW0ub3V0LnByaW50bG4oT1MpOwogICAgdHJ5IHsKICAgICAgICBTeXN0ZW0ub3V0LnByaW50bG4oamF2YS5uZXQuSW5ldDRBZGRyZXNzLmdldExvY2FsSG9zdCgpLmdldEhvc3RBZGRyZXNzKCkpOwogICAgfQogICAgY2F0Y2goamF2YS5uZXQuVW5rbm93bkhvc3RFeGNlcHRpb24gZSkgewogICAgICAgIFN5c3RlbS5vdXQucHJpbnRsbihlLmdldFN0YWNrVHJhY2UoKS50b1N0cmluZygpKTsKICAgIH0KfQp9