/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;
import java.net.InetAddress;
import java.nio.ByteBuffer;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
		InetAddress bar = InetAddress.getByName("187.210.139.0");
		int value = ByteBuffer.wrap(bar.getAddress()).getInt();
		System.out.println(value);
	}
}