import java.net.InetAddress; class IPAddress{ public static void main(String args[]) throws Exception { System.out.println(InetAddress.getLocalHost()); }}