import java.util.*;

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

		double area = (double) W * H / 2;
		int flg = 0;
		if ((double) x == (double) W / 2 && (double) y == (double) H / 2) {
			flg = 1;
		}
		System.out.println(area + " " + flg);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		sc.close();

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

		double area = (double) W * H / 2;
		int flg = 0;
		if ((double) x == (double) W / 2 && (double) y == (double) H / 2) {
			flg = 1;
		}
		System.out.println(area + " " + flg);
	} main {
		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		sc.close();

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

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

		double area = (double) W * H / 2;
		int flg = 0;
		if ((double) x == (double) W / 2 && (double) y == (double) H / 2) {
			flg = 1;
		}
		System.out.println(area + " " + flg);
	}
} Main
import java.util.*;

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

		double area = (double) W * H / 2;
		int flg = 0;
		if ((double) x == (double) W / 2 && (double) y == (double) H / 2) {
			flg = 1;
		}
		System.out.println(area + " " + flg);
	}
}
