import java.util.Scanner;

public class Main {
	public static void main(String [] args) {
		Scanner scanner = new Scanner(System.in);
		long W = scanner.nextLong();
		long H = scanner.nextLong();
		long x = scanner.nextLong();
		long y = scanner.nextLong();
		System.out.println(W*H/2.0);
		if(2*x == W && 2*y == H) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String [] args) {
		Scanner scanner = new Scanner(System.in);
		long W = scanner.nextLong();
		long H = scanner.nextLong();
		long x = scanner.nextLong();
		long y = scanner.nextLong();
		System.out.println(W*H/2.0);
		if(2*x == W && 2*y == H) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
	}
} Main public static void main(String [] args) {
		Scanner scanner = new Scanner(System.in);
		long W = scanner.nextLong();
		long H = scanner.nextLong();
		long x = scanner.nextLong();
		long y = scanner.nextLong();
		System.out.println(W*H/2.0);
		if(2*x == W && 2*y == H) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
	} main {
		Scanner scanner = new Scanner(System.in);
		long W = scanner.nextLong();
		long H = scanner.nextLong();
		long x = scanner.nextLong();
		long y = scanner.nextLong();
		System.out.println(W*H/2.0);
		if(2*x == W && 2*y == H) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) long W = scanner.nextLong(); W scanner.nextLong() scanner.nextLong scanner long H = scanner.nextLong(); H scanner.nextLong() scanner.nextLong scanner long x = scanner.nextLong(); x scanner.nextLong() scanner.nextLong scanner long y = scanner.nextLong(); y scanner.nextLong() scanner.nextLong scanner System.out.println(W*H/2.0) System.out.println System.out System System.out W*H/2.0 W*H W H 2.0 if(2*x == W && 2*y == H) {
			System.out.println(1);
		}else {
			System.out.println(0);
		} 2*x == W && 2*y == H 2*x == W 2*x 2 x W 2*y == H 2*y 2 y H {
			System.out.println(1);
		} System.out.println(1) System.out.println System.out System System.out 1 {
			System.out.println(0);
		} System.out.println(0) System.out.println System.out System System.out 0 String [] args args public class Main {
	public static void main(String [] args) {
		Scanner scanner = new Scanner(System.in);
		long W = scanner.nextLong();
		long H = scanner.nextLong();
		long x = scanner.nextLong();
		long y = scanner.nextLong();
		System.out.println(W*H/2.0);
		if(2*x == W && 2*y == H) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
	}
} public class Main {
	public static void main(String [] args) {
		Scanner scanner = new Scanner(System.in);
		long W = scanner.nextLong();
		long H = scanner.nextLong();
		long x = scanner.nextLong();
		long y = scanner.nextLong();
		System.out.println(W*H/2.0);
		if(2*x == W && 2*y == H) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
	}
} Main
import java.util.Scanner;

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