import java.util.*;
import java.lang.*;
import java.io.*;

class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{
System.out.format(" 257.0 -> i32 = %d\n", (int) 257.0);
System.out.format("-257.0 -> i32 = %d\n", (int) -257.0);
System.out.format(" MAX+1 -> i32 = %d\n", (int) 2147483648.0);
System.out.format(" MIN-1 -> i32 = %d\n", (int) -2147483649.0);
System.out.format("-0.0   -> i32 = %d\n", (int) -0.0);
System.out.format(" Inf   -> i32 = %d\n", (int) (1.0/0.0));
System.out.format("-Inf   -> i32 = %d\n", (int) (-1.0/0.0));
System.out.format(" NaN   -> i32 = %d\n", (int) (0.0/0.0));
	}
}