import java.util.*;
import java.util.stream.*;

public class Main {
  public static void main(String[] args) throws Exception {
    Scanner in = new Scanner(System.in);
    long W = in.nextLong();
    long H = in.nextLong();
    long x = in.nextLong();
    long y = in.nextLong();
    System.out.println((W * H / 2.0) + " " + (W == x * 2 && H == y * 2 ? 1 : 0));
  }
} import java.util.*; util.* java import java.util.stream.*; stream.* java.util public class Main {
  public static void main(String[] args) throws Exception {
    Scanner in = new Scanner(System.in);
    long W = in.nextLong();
    long H = in.nextLong();
    long x = in.nextLong();
    long y = in.nextLong();
    System.out.println((W * H / 2.0) + " " + (W == x * 2 && H == y * 2 ? 1 : 0));
  }
} Main public static void main(String[] args) throws Exception {
    Scanner in = new Scanner(System.in);
    long W = in.nextLong();
    long H = in.nextLong();
    long x = in.nextLong();
    long y = in.nextLong();
    System.out.println((W * H / 2.0) + " " + (W == x * 2 && H == y * 2 ? 1 : 0));
  } main {
    Scanner in = new Scanner(System.in);
    long W = in.nextLong();
    long H = in.nextLong();
    long x = in.nextLong();
    long y = in.nextLong();
    System.out.println((W * H / 2.0) + " " + (W == x * 2 && H == y * 2 ? 1 : 0));
  } Scanner in = new Scanner(System.in); in new Scanner(System.in) long W = in.nextLong(); W in.nextLong() in.nextLong in long H = in.nextLong(); H in.nextLong() in.nextLong in long x = in.nextLong(); x in.nextLong() in.nextLong in long y = in.nextLong(); y in.nextLong() in.nextLong in System.out.println((W * H / 2.0) + " " + (W == x * 2 && H == y * 2 ? 1 : 0)) System.out.println System.out System System.out (W * H / 2.0) + " " + (W == x * 2 && H == y * 2 ? 1 : 0) (W * H / 2.0) + " " + (W == x * 2 && H == y * 2 ? 1 : 0) (W * H / 2.0) W * H W H 2.0 " " (W == x * 2 && H == y * 2 ? 1 : 0) W == x * 2 && H == y * 2 W == x * 2 W x * 2 x 2 H == y * 2 H y * 2 y 2 1 0 String[] args args public class Main {
  public static void main(String[] args) throws Exception {
    Scanner in = new Scanner(System.in);
    long W = in.nextLong();
    long H = in.nextLong();
    long x = in.nextLong();
    long y = in.nextLong();
    System.out.println((W * H / 2.0) + " " + (W == x * 2 && H == y * 2 ? 1 : 0));
  }
} public class Main {
  public static void main(String[] args) throws Exception {
    Scanner in = new Scanner(System.in);
    long W = in.nextLong();
    long H = in.nextLong();
    long x = in.nextLong();
    long y = in.nextLong();
    System.out.println((W * H / 2.0) + " " + (W == x * 2 && H == y * 2 ? 1 : 0));
  }
} Main
import java.util.*;
import java.util.stream.*;

public class Main {
  public static void main(String[] args) throws Exception {
    Scanner in = new Scanner(System.in);
    long W = in.nextLong();
    long H = in.nextLong();
    long x = in.nextLong();
    long y = in.nextLong();
    System.out.println((W * H / 2.0) + " " + (W == x * 2 && H == y * 2 ? 1 : 0));
  }
}