import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

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();
    int flag = 0;

    BigDecimal wBig = new BigDecimal(W);
    BigDecimal hBig = new BigDecimal(H);
    BigDecimal xBig = new BigDecimal(x);
    BigDecimal yBig = new BigDecimal(y);
    BigDecimal two = new BigDecimal(2);

    BigDecimal half = wBig.multiply(hBig).divide(two, 9, RoundingMode.DOWN);

    if(xBig.equals(wBig.divide(two)) && yBig.equals(hBig.divide(two))) {
    	flag = 1;
    }

    System.out.println(half + " " + flag);
  }
} import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math import java.util.Scanner; Scanner 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();
    int flag = 0;

    BigDecimal wBig = new BigDecimal(W);
    BigDecimal hBig = new BigDecimal(H);
    BigDecimal xBig = new BigDecimal(x);
    BigDecimal yBig = new BigDecimal(y);
    BigDecimal two = new BigDecimal(2);

    BigDecimal half = wBig.multiply(hBig).divide(two, 9, RoundingMode.DOWN);

    if(xBig.equals(wBig.divide(two)) && yBig.equals(hBig.divide(two))) {
    	flag = 1;
    }

    System.out.println(half + " " + flag);
  }
} 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();
    int flag = 0;

    BigDecimal wBig = new BigDecimal(W);
    BigDecimal hBig = new BigDecimal(H);
    BigDecimal xBig = new BigDecimal(x);
    BigDecimal yBig = new BigDecimal(y);
    BigDecimal two = new BigDecimal(2);

    BigDecimal half = wBig.multiply(hBig).divide(two, 9, RoundingMode.DOWN);

    if(xBig.equals(wBig.divide(two)) && yBig.equals(hBig.divide(two))) {
    	flag = 1;
    }

    System.out.println(half + " " + flag);
  } main {
    Scanner sc = new Scanner(System.in);
    int W = sc.nextInt();
    int H = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();
    int flag = 0;

    BigDecimal wBig = new BigDecimal(W);
    BigDecimal hBig = new BigDecimal(H);
    BigDecimal xBig = new BigDecimal(x);
    BigDecimal yBig = new BigDecimal(y);
    BigDecimal two = new BigDecimal(2);

    BigDecimal half = wBig.multiply(hBig).divide(two, 9, RoundingMode.DOWN);

    if(xBig.equals(wBig.divide(two)) && yBig.equals(hBig.divide(two))) {
    	flag = 1;
    }

    System.out.println(half + " " + flag);
  } 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 int flag = 0; flag 0 BigDecimal wBig = new BigDecimal(W); wBig new BigDecimal(W) BigDecimal hBig = new BigDecimal(H); hBig new BigDecimal(H) BigDecimal xBig = new BigDecimal(x); xBig new BigDecimal(x) BigDecimal yBig = new BigDecimal(y); yBig new BigDecimal(y) BigDecimal two = new BigDecimal(2); two new BigDecimal(2) BigDecimal half = wBig.multiply(hBig).divide(two, 9, RoundingMode.DOWN); half wBig.multiply(hBig).divide(two, 9, RoundingMode.DOWN) wBig.multiply(hBig).divide wBig.multiply(hBig) wBig.multiply wBig hBig two 9 RoundingMode.DOWN RoundingMode RoundingMode.DOWN if(xBig.equals(wBig.divide(two)) && yBig.equals(hBig.divide(two))) {
    	flag = 1;
    } xBig.equals(wBig.divide(two)) && yBig.equals(hBig.divide(two)) xBig.equals(wBig.divide(two)) xBig.equals xBig wBig.divide(two) wBig.divide wBig two yBig.equals(hBig.divide(two)) yBig.equals yBig hBig.divide(two) hBig.divide hBig two {
    	flag = 1;
    } flag = 1 flag 1 System.out.println(half + " " + flag) System.out.println System.out System System.out half + " " + flag half + " " + flag half " " flag 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();
    int flag = 0;

    BigDecimal wBig = new BigDecimal(W);
    BigDecimal hBig = new BigDecimal(H);
    BigDecimal xBig = new BigDecimal(x);
    BigDecimal yBig = new BigDecimal(y);
    BigDecimal two = new BigDecimal(2);

    BigDecimal half = wBig.multiply(hBig).divide(two, 9, RoundingMode.DOWN);

    if(xBig.equals(wBig.divide(two)) && yBig.equals(hBig.divide(two))) {
    	flag = 1;
    }

    System.out.println(half + " " + flag);
  }
} 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();
    int flag = 0;

    BigDecimal wBig = new BigDecimal(W);
    BigDecimal hBig = new BigDecimal(H);
    BigDecimal xBig = new BigDecimal(x);
    BigDecimal yBig = new BigDecimal(y);
    BigDecimal two = new BigDecimal(2);

    BigDecimal half = wBig.multiply(hBig).divide(two, 9, RoundingMode.DOWN);

    if(xBig.equals(wBig.divide(two)) && yBig.equals(hBig.divide(two))) {
    	flag = 1;
    }

    System.out.println(half + " " + flag);
  }
} Main
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

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();
    int flag = 0;

    BigDecimal wBig = new BigDecimal(W);
    BigDecimal hBig = new BigDecimal(H);
    BigDecimal xBig = new BigDecimal(x);
    BigDecimal yBig = new BigDecimal(y);
    BigDecimal two = new BigDecimal(2);

    BigDecimal half = wBig.multiply(hBig).divide(two, 9, RoundingMode.DOWN);

    if(xBig.equals(wBig.divide(two)) && yBig.equals(hBig.divide(two))) {
    	flag = 1;
    }

    System.out.println(half + " " + flag);
  }
}