import java.util.*;
public class Main {

  public static void main (String[] args) {
	
    Scanner sc = new Scanner(System.in);
    int W = sc.nextInt();
    int H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();
    sc.close();

    double max = (double) W * (double) H / 2;

    int check = 0;

    if(x + x == W && y + y == H){
      check = 1;
    }

    System.out.println(max + " " + check);

  }

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

  public static void main (String[] args) {
	
    Scanner sc = new Scanner(System.in);
    int W = sc.nextInt();
    int H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();
    sc.close();

    double max = (double) W * (double) H / 2;

    int check = 0;

    if(x + x == W && y + y == H){
      check = 1;
    }

    System.out.println(max + " " + check);

  }

} Main public static void main (String[] args) {
	
    Scanner sc = new Scanner(System.in);
    int W = sc.nextInt();
    int H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();
    sc.close();

    double max = (double) W * (double) H / 2;

    int check = 0;

    if(x + x == W && y + y == H){
      check = 1;
    }

    System.out.println(max + " " + check);

  } main {
	
    Scanner sc = new Scanner(System.in);
    int W = sc.nextInt();
    int H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();
    sc.close();

    double max = (double) W * (double) H / 2;

    int check = 0;

    if(x + x == W && y + y == H){
      check = 1;
    }

    System.out.println(max + " " + check);

  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int W = sc.nextInt(); W sc.nextInt() sc.nextInt sc int 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 double max = (double) W * (double) H / 2; max (double) W * (double) H / 2 (double) W * (double) H (double) W (double) H 2 int check = 0; check 0 if(x + x == W && y + y == H){
      check = 1;
    } x + x == W && y + y == H x + x == W x + x x x W y + y == H y + y y y H {
      check = 1;
    } check = 1 check 1 System.out.println(max + " " + check) System.out.println System.out System System.out max + " " + check max + " " + check max " " check String[] args args public class Main {

  public static void main (String[] args) {
	
    Scanner sc = new Scanner(System.in);
    int W = sc.nextInt();
    int H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();
    sc.close();

    double max = (double) W * (double) H / 2;

    int check = 0;

    if(x + x == W && y + y == H){
      check = 1;
    }

    System.out.println(max + " " + check);

  }

} public class Main {

  public static void main (String[] args) {
	
    Scanner sc = new Scanner(System.in);
    int W = sc.nextInt();
    int H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();
    sc.close();

    double max = (double) W * (double) H / 2;

    int check = 0;

    if(x + x == W && y + y == H){
      check = 1;
    }

    System.out.println(max + " " + check);

  }

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

  public static void main (String[] args) {
	
    Scanner sc = new Scanner(System.in);
    int W = sc.nextInt();
    int H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();
    sc.close();

    double max = (double) W * (double) H / 2;

    int check = 0;

    if(x + x == W && y + y == H){
      check = 1;
    }

    System.out.println(max + " " + check);

  }

}