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();
		
		double a = W / 2;
		double b = H / 2;
		double X = 2.0 * a - x;
		double Y = 2.0 * b - y;
		
		int num = 0;
		if(2 * x == W && 2 * y == H) {
			num = 1;
		}
		
		double S = W * H / 2.0;
		
		System.out.println(S + " " + num);
	}
} 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();
		
		double a = W / 2;
		double b = H / 2;
		double X = 2.0 * a - x;
		double Y = 2.0 * b - y;
		
		int num = 0;
		if(2 * x == W && 2 * y == H) {
			num = 1;
		}
		
		double S = W * H / 2.0;
		
		System.out.println(S + " " + num);
	}
} 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();
		
		double a = W / 2;
		double b = H / 2;
		double X = 2.0 * a - x;
		double Y = 2.0 * b - y;
		
		int num = 0;
		if(2 * x == W && 2 * y == H) {
			num = 1;
		}
		
		double S = W * H / 2.0;
		
		System.out.println(S + " " + num);
	} main {
		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		
		double a = W / 2;
		double b = H / 2;
		double X = 2.0 * a - x;
		double Y = 2.0 * b - y;
		
		int num = 0;
		if(2 * x == W && 2 * y == H) {
			num = 1;
		}
		
		double S = W * H / 2.0;
		
		System.out.println(S + " " + num);
	} 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 double a = W / 2; a W / 2 W 2 double b = H / 2; b H / 2 H 2 double X = 2.0 * a - x; X 2.0 * a - x 2.0 * a 2.0 a x double Y = 2.0 * b - y; Y 2.0 * b - y 2.0 * b 2.0 b y int num = 0; num 0 if(2 * x == W && 2 * y == H) {
			num = 1;
		} 2 * x == W && 2 * y == H 2 * x == W 2 * x 2 x W 2 * y == H 2 * y 2 y H {
			num = 1;
		} num = 1 num 1 double S = W * H / 2.0; S W * H / 2.0 W * H W H 2.0 System.out.println(S + " " + num) System.out.println System.out System System.out S + " " + num S + " " + num S " " num 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();
		
		double a = W / 2;
		double b = H / 2;
		double X = 2.0 * a - x;
		double Y = 2.0 * b - y;
		
		int num = 0;
		if(2 * x == W && 2 * y == H) {
			num = 1;
		}
		
		double S = W * H / 2.0;
		
		System.out.println(S + " " + num);
	}
} 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();
		
		double a = W / 2;
		double b = H / 2;
		double X = 2.0 * a - x;
		double Y = 2.0 * b - y;
		
		int num = 0;
		if(2 * x == W && 2 * y == H) {
			num = 1;
		}
		
		double S = W * H / 2.0;
		
		System.out.println(S + " " + num);
	}
} 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();
		
		double a = W / 2;
		double b = H / 2;
		double X = 2.0 * a - x;
		double Y = 2.0 * b - y;
		
		int num = 0;
		if(2 * x == W && 2 * y == H) {
			num = 1;
		}
		
		double S = W * H / 2.0;
		
		System.out.println(S + " " + num);
	}
}
