import java.io.*; class Tipusv { public static void main(String args[]) throws IOException { System.out.println("Hi"); InputStreamReader befolyam = new InputStreamReader(System.in); BufferedReader be = new BufferedReader(befolyam); String s = be.readLine(); if(s.matches("((-|\\+)?[0-9]+(\\.[0-9]+)?)+")) System.out.println("Szám"); else System.out.println("Ez nem szám"); System.in.read(); } }