import java.util.Scanner;

public class Main {

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

} 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();
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		String s = "";
		if(x == W/2 && y == H/2) {
			s = "1";
		}else {
			s = "0";
		}
		
		double face = W*H/2;
		
		System.out.println(face + " " + s);
		
		sc.close();
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		double W = sc.nextDouble();
		double H = sc.nextDouble();
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		String s = "";
		if(x == W/2 && y == H/2) {
			s = "1";
		}else {
			s = "0";
		}
		
		double face = W*H/2;
		
		System.out.println(face + " " + s);
		
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		
		double W = sc.nextDouble();
		double H = sc.nextDouble();
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		String s = "";
		if(x == W/2 && y == H/2) {
			s = "1";
		}else {
			s = "0";
		}
		
		double face = W*H/2;
		
		System.out.println(face + " " + s);
		
		sc.close();
	} 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 int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc String s = ""; s "" if(x == W/2 && y == H/2) {
			s = "1";
		}else {
			s = "0";
		} x == W/2 && y == H/2 x == W/2 x W/2 W 2 y == H/2 y H/2 H 2 {
			s = "1";
		} s = "1" s "1" {
			s = "0";
		} s = "0" s "0" double face = W*H/2; face W*H/2 W*H W H 2 System.out.println(face + " " + s) System.out.println System.out System System.out face + " " + s face + " " + s face " " s sc.close() sc.close sc 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();
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		String s = "";
		if(x == W/2 && y == H/2) {
			s = "1";
		}else {
			s = "0";
		}
		
		double face = W*H/2;
		
		System.out.println(face + " " + s);
		
		sc.close();
	}

} public class Main {

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

} Main
import java.util.Scanner;

public class Main {

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

}