import java.util.Scanner;

/**
 * 2019/06/16
 * AtCoder Beginner Contest 130
 * 
 * C - Rectangle Cutting
 * 
 * @author rued97
 */
public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		double W = sc.nextDouble();
		double H = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

		double result1 = W * H / 2;
		int result2;
		if((W / 2 == x) && (H / 2) == y) {
			result2 = 1;
		} else {
			result2 = 0;
		}
		
		System.out.println(result1 + " " + result2);
	}
	
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		double W = sc.nextDouble();
		double H = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

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

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

		double result1 = W * H / 2;
		int result2;
		if((W / 2 == x) && (H / 2) == y) {
			result2 = 1;
		} else {
			result2 = 0;
		}
		
		System.out.println(result1 + " " + result2);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double W = sc.nextDouble(); W sc.nextDouble() sc.nextDouble sc double H = sc.nextDouble(); H sc.nextDouble() sc.nextDouble sc double x = sc.nextDouble(); x sc.nextDouble() sc.nextDouble sc double y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc double result1 = W * H / 2; result1 W * H / 2 W * H W H 2 int result2; result2 if((W / 2 == x) && (H / 2) == y) {
			result2 = 1;
		} else {
			result2 = 0;
		} (W / 2 == x) && (H / 2) == y (W / 2 == x) W / 2 W 2 x (H / 2) == y (H / 2) H 2 y {
			result2 = 1;
		} result2 = 1 result2 1 {
			result2 = 0;
		} result2 = 0 result2 0 System.out.println(result1 + " " + result2) System.out.println System.out System System.out result1 + " " + result2 result1 + " " + result2 result1 " " result2 String[] args args public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		double W = sc.nextDouble();
		double H = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

		double result1 = W * H / 2;
		int result2;
		if((W / 2 == x) && (H / 2) == y) {
			result2 = 1;
		} else {
			result2 = 0;
		}
		
		System.out.println(result1 + " " + result2);
	}
	
} public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		double W = sc.nextDouble();
		double H = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

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

/**
 * 2019/06/16
 * AtCoder Beginner Contest 130
 * 
 * C - Rectangle Cutting
 * 
 * @author rued97
 */
public class Main {

	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		
		double W = sc.nextDouble();
		double H = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

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