
import java.util.Scanner;

/**
 * @author author
 *
 */
public class Main {

  /**
   * @param args
   */
  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);
    Double w = Double.parseDouble(sc.next());
    Double h = Double.parseDouble(sc.next());
    Double x = Double.parseDouble(sc.next());
    Double y = Double.parseDouble(sc.next());

    int numberOfLine = 0;
    Double area = (w * h) / 2;

    if (x * 2 == w && y * 2 == h) {
      numberOfLine = 1;
    }
    System.out.println(area + " " + numberOfLine);

  }

} import java.util.Scanner; Scanner java.util public class Main {

  /**
   * @param args
   */
  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);
    Double w = Double.parseDouble(sc.next());
    Double h = Double.parseDouble(sc.next());
    Double x = Double.parseDouble(sc.next());
    Double y = Double.parseDouble(sc.next());

    int numberOfLine = 0;
    Double area = (w * h) / 2;

    if (x * 2 == w && y * 2 == h) {
      numberOfLine = 1;
    }
    System.out.println(area + " " + numberOfLine);

  }

} Main /**
   * @param args
   */
  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);
    Double w = Double.parseDouble(sc.next());
    Double h = Double.parseDouble(sc.next());
    Double x = Double.parseDouble(sc.next());
    Double y = Double.parseDouble(sc.next());

    int numberOfLine = 0;
    Double area = (w * h) / 2;

    if (x * 2 == w && y * 2 == h) {
      numberOfLine = 1;
    }
    System.out.println(area + " " + numberOfLine);

  } main {

    Scanner sc = new Scanner(System.in);
    Double w = Double.parseDouble(sc.next());
    Double h = Double.parseDouble(sc.next());
    Double x = Double.parseDouble(sc.next());
    Double y = Double.parseDouble(sc.next());

    int numberOfLine = 0;
    Double area = (w * h) / 2;

    if (x * 2 == w && y * 2 == h) {
      numberOfLine = 1;
    }
    System.out.println(area + " " + numberOfLine);

  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Double w = Double.parseDouble(sc.next()); w Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc Double h = Double.parseDouble(sc.next()); h Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc Double x = Double.parseDouble(sc.next()); x Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc Double y = Double.parseDouble(sc.next()); y Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc int numberOfLine = 0; numberOfLine 0 Double area = (w * h) / 2; area (w * h) / 2 (w * h) w h 2 if (x * 2 == w && y * 2 == h) {
      numberOfLine = 1;
    } x * 2 == w && y * 2 == h x * 2 == w x * 2 x 2 w y * 2 == h y * 2 y 2 h {
      numberOfLine = 1;
    } numberOfLine = 1 numberOfLine 1 System.out.println(area + " " + numberOfLine) System.out.println System.out System System.out area + " " + numberOfLine area + " " + numberOfLine area " " numberOfLine String[] args args public class Main {

  /**
   * @param args
   */
  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);
    Double w = Double.parseDouble(sc.next());
    Double h = Double.parseDouble(sc.next());
    Double x = Double.parseDouble(sc.next());
    Double y = Double.parseDouble(sc.next());

    int numberOfLine = 0;
    Double area = (w * h) / 2;

    if (x * 2 == w && y * 2 == h) {
      numberOfLine = 1;
    }
    System.out.println(area + " " + numberOfLine);

  }

} public class Main {

  /**
   * @param args
   */
  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);
    Double w = Double.parseDouble(sc.next());
    Double h = Double.parseDouble(sc.next());
    Double x = Double.parseDouble(sc.next());
    Double y = Double.parseDouble(sc.next());

    int numberOfLine = 0;
    Double area = (w * h) / 2;

    if (x * 2 == w && y * 2 == h) {
      numberOfLine = 1;
    }
    System.out.println(area + " " + numberOfLine);

  }

} Main

import java.util.Scanner;

/**
 * @author author
 *
 */
public class Main {

  /**
   * @param args
   */
  public static void main(String[] args) {

    Scanner sc = new Scanner(System.in);
    Double w = Double.parseDouble(sc.next());
    Double h = Double.parseDouble(sc.next());
    Double x = Double.parseDouble(sc.next());
    Double y = Double.parseDouble(sc.next());

    int numberOfLine = 0;
    Double area = (w * h) / 2;

    if (x * 2 == w && y * 2 == h) {
      numberOfLine = 1;
    }
    System.out.println(area + " " + numberOfLine);

  }

}
