import java.util.Scanner;

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();
		// 結果出力
		System.out.println(
			(double)(W * H) / 2 + " " + 
			((x * 2) == W && (y * 2) == H ? "1" : "0"));
	}
} import java.util.Scanner; Scanner 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();
		// 結果出力
		System.out.println(
			(double)(W * H) / 2 + " " + 
			((x * 2) == W && (y * 2) == H ? "1" : "0"));
	}
} 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();
		// 結果出力
		System.out.println(
			(double)(W * H) / 2 + " " + 
			((x * 2) == W && (y * 2) == H ? "1" : "0"));
	} 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();
		// 結果出力
		System.out.println(
			(double)(W * H) / 2 + " " + 
			((x * 2) == W && (y * 2) == H ? "1" : "0"));
	} 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 System.out.println(
			(double)(W * H) / 2 + " " + 
			((x * 2) == W && (y * 2) == H ? "1" : "0")) System.out.println System.out System System.out (double)(W * H) / 2 + " " + 
			((x * 2) == W && (y * 2) == H ? "1" : "0") (double)(W * H) / 2 + " " + 
			((x * 2) == W && (y * 2) == H ? "1" : "0") (double)(W * H) / 2 (double)(W * H) W H 2 " " ((x * 2) == W && (y * 2) == H ? "1" : "0") (x * 2) == W && (y * 2) == H (x * 2) == W (x * 2) x 2 W (y * 2) == H (y * 2) y 2 H "1" "0" 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();
		// 結果出力
		System.out.println(
			(double)(W * H) / 2 + " " + 
			((x * 2) == W && (y * 2) == H ? "1" : "0"));
	}
} 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();
		// 結果出力
		System.out.println(
			(double)(W * H) / 2 + " " + 
			((x * 2) == W && (y * 2) == H ? "1" : "0"));
	}
} Main
import java.util.Scanner;

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();
		// 結果出力
		System.out.println(
			(double)(W * H) / 2 + " " + 
			((x * 2) == W && (y * 2) == H ? "1" : "0"));
	}
}
