import java.util.Scanner; public class test9002 { public static void main(String[] args) { Scanner userInput = new Scanner(System.in); String inputStr = userInput.next(); boolean result = isNumber(inputStr); userInput.close(); if(result == true){ System.out.println("decimal"); System.out.println(Integer.parseInt(inputStr) + 0.0001); } } static boolean isNumber(String num) { try { Integer.parseInt(num); return true; } catch (NumberFormatException e) { return false; } } }