import java.util.*;

public class Main {

  public static void main (String[] args) {

    Scanner sc = new Scanner(System.in);
    
    double W = sc.nextInt();
    double H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    sc.close();

    int flg = 0;

    if (x == W /2 && y == H / 2){
      flg = 1;
    }

    System.out.println(W * H / 2 + " " + flg);
    
  }

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

  public static void main (String[] args) {

    Scanner sc = new Scanner(System.in);
    
    double W = sc.nextInt();
    double H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    sc.close();

    int flg = 0;

    if (x == W /2 && y == H / 2){
      flg = 1;
    }

    System.out.println(W * H / 2 + " " + flg);
    
  }

} Main public static void main (String[] args) {

    Scanner sc = new Scanner(System.in);
    
    double W = sc.nextInt();
    double H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    sc.close();

    int flg = 0;

    if (x == W /2 && y == H / 2){
      flg = 1;
    }

    System.out.println(W * H / 2 + " " + flg);
    
  } main {

    Scanner sc = new Scanner(System.in);
    
    double W = sc.nextInt();
    double H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    sc.close();

    int flg = 0;

    if (x == W /2 && y == H / 2){
      flg = 1;
    }

    System.out.println(W * H / 2 + " " + flg);
    
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double W = sc.nextInt(); W sc.nextInt() sc.nextInt sc double H = sc.nextInt(); H sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc sc.close() sc.close sc int flg = 0; flg 0 if (x == W /2 && y == H / 2){
      flg = 1;
    } x == W /2 && y == H / 2 x == W /2 x W /2 W 2 y == H / 2 y H / 2 H 2 {
      flg = 1;
    } flg = 1 flg 1 System.out.println(W * H / 2 + " " + flg) System.out.println System.out System System.out W * H / 2 + " " + flg W * H / 2 + " " + flg W * H / 2 W * H W H 2 " " flg String[] args args public class Main {

  public static void main (String[] args) {

    Scanner sc = new Scanner(System.in);
    
    double W = sc.nextInt();
    double H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    sc.close();

    int flg = 0;

    if (x == W /2 && y == H / 2){
      flg = 1;
    }

    System.out.println(W * H / 2 + " " + flg);
    
  }

} public class Main {

  public static void main (String[] args) {

    Scanner sc = new Scanner(System.in);
    
    double W = sc.nextInt();
    double H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    sc.close();

    int flg = 0;

    if (x == W /2 && y == H / 2){
      flg = 1;
    }

    System.out.println(W * H / 2 + " " + flg);
    
  }

} Main
import java.util.*;

public class Main {

  public static void main (String[] args) {

    Scanner sc = new Scanner(System.in);
    
    double W = sc.nextInt();
    double H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    sc.close();

    int flg = 0;

    if (x == W /2 && y == H / 2){
      flg = 1;
    }

    System.out.println(W * H / 2 + " " + flg);
    
  }

}