import java.net.*;
import java.util.Scanner;
import java.io.*;
public class InetTest
{
public static void main(String s[])
{
Scanner input = new Scanner(System.in);
System.out.println("enter the address of the website(url)");
String sUrl= input.nextLine();
try
{
InetAddress[] addr = InetAddress.getAllByName(sUrl);
for (int i=0;i<addr.length;i++)
System.out.println(addr[i]);
System.out.println("\n\nTotal no: of servers = "
+addr.length);
}
catch(Exception e)
{
System.out.println("HAHAHA some problem, go home and take rest");
}
}
}