import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		if (x + x == w && y + y == h) {
			System.out.println(w /2.0 * h+ " " + 1);
		} else {
			System.out.println(w / 2.0 * h + " " + 0);
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		if (x + x == w && y + y == h) {
			System.out.println(w /2.0 * h+ " " + 1);
		} else {
			System.out.println(w / 2.0 * h + " " + 0);
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		if (x + x == w && y + y == h) {
			System.out.println(w /2.0 * h+ " " + 1);
		} else {
			System.out.println(w / 2.0 * h + " " + 0);
		}
	} main {
		Scanner sc = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		if (x + x == w && y + y == h) {
			System.out.println(w /2.0 * h+ " " + 1);
		} else {
			System.out.println(w / 2.0 * h + " " + 0);
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) StringBuilder sb = new StringBuilder(); sb new StringBuilder() double w = sc.nextInt(); w sc.nextInt() sc.nextInt sc double h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double x = sc.nextInt(); x sc.nextInt() sc.nextInt sc double y = sc.nextInt(); y sc.nextInt() sc.nextInt sc if (x + x == w && y + y == h) {
			System.out.println(w /2.0 * h+ " " + 1);
		} else {
			System.out.println(w / 2.0 * h + " " + 0);
		} x + x == w && y + y == h x + x == w x + x x x w y + y == h y + y y y h {
			System.out.println(w /2.0 * h+ " " + 1);
		} System.out.println(w /2.0 * h+ " " + 1) System.out.println System.out System System.out w /2.0 * h+ " " + 1 w /2.0 * h+ " " + 1 w /2.0 * h w /2.0 w 2.0 h " " 1 {
			System.out.println(w / 2.0 * h + " " + 0);
		} System.out.println(w / 2.0 * h + " " + 0) System.out.println System.out System System.out w / 2.0 * h + " " + 0 w / 2.0 * h + " " + 0 w / 2.0 * h w / 2.0 w 2.0 h " " 0 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		if (x + x == w && y + y == h) {
			System.out.println(w /2.0 * h+ " " + 1);
		} else {
			System.out.println(w / 2.0 * h + " " + 0);
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		if (x + x == w && y + y == h) {
			System.out.println(w /2.0 * h+ " " + 1);
		} else {
			System.out.println(w / 2.0 * h + " " + 0);
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		StringBuilder sb = new StringBuilder();
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		if (x + x == w && y + y == h) {
			System.out.println(w /2.0 * h+ " " + 1);
		} else {
			System.out.println(w / 2.0 * h + " " + 0);
		}
	}
}
