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

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

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	private static int chopDecimals(String s) {
	    //String ss = " ";
		    if (s.charAt(s.length()-2) == '.' && s.charAt(s.length()-1) == '0'){
			    s = s.substring(0,s.length()-2);
		    }
		
		int converted = Integer.parseInt(s);
		return converted;
    }
    
	public static void main (String[] args) throws java.lang.Exception
	{
		
		String s = String.valueOf(1.0);
		System.out.println(s);
		int converted = chopDecimals(s);
		System.out.println(s);
		System.out.println(converted);
		
	}
}