/*************************************************************************
 * Name:
 * Login:
 * Precept:
 *
 * Description: Read in integers from standard input
 * and print out the maximum and minimum values read in.
 *
 * Dependencies: StdIn.java, StdOut.java
 *
 * Compilation:  javac-introcs MaxMin.java
 * Execution:    java-introcs MaxMin 
 *   -- input required from standard input
 *   -- use ctl-d (Mac) or ctl-z (Windows) for EOF
 *
 *  % java-introcs MaxMin
 *  23 45 17 56 32
 *  89 10 53 32 34
 *  16
 *  ctl-d
 *  maximum = 89, minimum = 10               (This is book exercise 1.5.1.)
 *************************************************************************/

public class MaxMin {
   public static void main(String[] args) {
    
      // first value read initializes min and max
      int max = _________________;
      int min = _________________;
    
      // read in the data, keep track of min and max
      while (_________________) {
         int value = StdIn.readInt();

         _______________________________
         _______________________________
      }
    
      // output
      StdOut.println("max = " + max + "   min = " + min);
   }
}