import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		double W = stdIn.nextDouble();
		double H = stdIn.nextDouble();
		double x = stdIn.nextDouble();
		double y = stdIn.nextDouble();
		
		System.out.println(W*H/2);
		
		if(x == W/2 && y == H/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}

	}

} import java.util.*; util.* java public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		double W = stdIn.nextDouble();
		double H = stdIn.nextDouble();
		double x = stdIn.nextDouble();
		double y = stdIn.nextDouble();
		
		System.out.println(W*H/2);
		
		if(x == W/2 && y == H/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}

	}

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

	} main {
		Scanner stdIn = new Scanner(System.in);
		double W = stdIn.nextDouble();
		double H = stdIn.nextDouble();
		double x = stdIn.nextDouble();
		double y = stdIn.nextDouble();
		
		System.out.println(W*H/2);
		
		if(x == W/2 && y == H/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}

	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) double W = stdIn.nextDouble(); W stdIn.nextDouble() stdIn.nextDouble stdIn double H = stdIn.nextDouble(); H stdIn.nextDouble() stdIn.nextDouble stdIn double x = stdIn.nextDouble(); x stdIn.nextDouble() stdIn.nextDouble stdIn double y = stdIn.nextDouble(); y stdIn.nextDouble() stdIn.nextDouble stdIn System.out.println(W*H/2) System.out.println System.out System System.out W*H/2 W*H W H 2 if(x == W/2 && y == H/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		} x == W/2 && y == H/2 x == W/2 x W/2 W 2 y == H/2 y H/2 H 2 {
			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 stdIn = new Scanner(System.in);
		double W = stdIn.nextDouble();
		double H = stdIn.nextDouble();
		double x = stdIn.nextDouble();
		double y = stdIn.nextDouble();
		
		System.out.println(W*H/2);
		
		if(x == W/2 && y == H/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}

	}

} public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		double W = stdIn.nextDouble();
		double H = stdIn.nextDouble();
		double x = stdIn.nextDouble();
		double y = stdIn.nextDouble();
		
		System.out.println(W*H/2);
		
		if(x == W/2 && y == H/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}

	}

} Main
import java.util.*;
public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		double W = stdIn.nextDouble();
		double H = stdIn.nextDouble();
		double x = stdIn.nextDouble();
		double y = stdIn.nextDouble();
		
		System.out.println(W*H/2);
		
		if(x == W/2 && y == H/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}

	}

}