import java.util.Scanner; public class MainInput{ public static void main(String[] args) { Scanner input = new Scanner(System.in); // examples /* boolean booleanValue = input.nextBoolean(); byte byteValue = input.nextByte(); short shortValue = input.nextShort(); int intValue = input.nextInt(); long longValue = input.nextLong(); float floatValue = input.nextFloat(); //use , instead of . double doubleValue = input.nextDouble(); char charValue = input.next().charAt(0); String stringValue = input.next(); // reads the first word String stringValue2 = input.nextLine(); // reads the whole line */ } }