public static short readShort(){
  return scanner.nextShort();
}

public static short readShort ( ) { return scanner . nextShort ( ) ; }
reads the next token from standard input , parses it as a short integer , and returns the short integer .
