import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		try (Scanner sc = new Scanner(System.in)) {
			double w = sc.nextInt();
			double h = sc.nextInt();
			double x = sc.nextInt();
			double y = sc.nextInt();
			
			double area = w * h / 2;
			boolean check = false;
			
			if (w / 2 == x && h / 2 == y) {
				check = true;
			}
			
			if (check) {
				System.out.println(area + " " + 1);
			} else {
				System.out.println(area + " " + 0);
			}
		}

	}

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

	public static void main(String[] args) {
		
		try (Scanner sc = new Scanner(System.in)) {
			double w = sc.nextInt();
			double h = sc.nextInt();
			double x = sc.nextInt();
			double y = sc.nextInt();
			
			double area = w * h / 2;
			boolean check = false;
			
			if (w / 2 == x && h / 2 == y) {
				check = true;
			}
			
			if (check) {
				System.out.println(area + " " + 1);
			} else {
				System.out.println(area + " " + 0);
			}
		}

	}

} Main public static void main(String[] args) {
		
		try (Scanner sc = new Scanner(System.in)) {
			double w = sc.nextInt();
			double h = sc.nextInt();
			double x = sc.nextInt();
			double y = sc.nextInt();
			
			double area = w * h / 2;
			boolean check = false;
			
			if (w / 2 == x && h / 2 == y) {
				check = true;
			}
			
			if (check) {
				System.out.println(area + " " + 1);
			} else {
				System.out.println(area + " " + 0);
			}
		}

	} main {
		
		try (Scanner sc = new Scanner(System.in)) {
			double w = sc.nextInt();
			double h = sc.nextInt();
			double x = sc.nextInt();
			double y = sc.nextInt();
			
			double area = w * h / 2;
			boolean check = false;
			
			if (w / 2 == x && h / 2 == y) {
				check = true;
			}
			
			if (check) {
				System.out.println(area + " " + 1);
			} else {
				System.out.println(area + " " + 0);
			}
		}

	} try (Scanner sc = new Scanner(System.in)) {
			double w = sc.nextInt();
			double h = sc.nextInt();
			double x = sc.nextInt();
			double y = sc.nextInt();
			
			double area = w * h / 2;
			boolean check = false;
			
			if (w / 2 == x && h / 2 == y) {
				check = true;
			}
			
			if (check) {
				System.out.println(area + " " + 1);
			} else {
				System.out.println(area + " " + 0);
			}
		} {
			double w = sc.nextInt();
			double h = sc.nextInt();
			double x = sc.nextInt();
			double y = sc.nextInt();
			
			double area = w * h / 2;
			boolean check = false;
			
			if (w / 2 == x && h / 2 == y) {
				check = true;
			}
			
			if (check) {
				System.out.println(area + " " + 1);
			} else {
				System.out.println(area + " " + 0);
			}
		} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) double w = sc.nextInt(); w sc.nextInt() sc.nextInt sc double h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double x = sc.nextInt(); x sc.nextInt() sc.nextInt sc double y = sc.nextInt(); y sc.nextInt() sc.nextInt sc double area = w * h / 2; area w * h / 2 w * h w h 2 boolean check = false; check false if (w / 2 == x && h / 2 == y) {
				check = true;
			} w / 2 == x && h / 2 == y w / 2 == x w / 2 w 2 x h / 2 == y h / 2 h 2 y {
				check = true;
			} check = true check true if (check) {
				System.out.println(area + " " + 1);
			} else {
				System.out.println(area + " " + 0);
			} check {
				System.out.println(area + " " + 1);
			} System.out.println(area + " " + 1) System.out.println System.out System System.out area + " " + 1 area + " " + 1 area " " 1 {
				System.out.println(area + " " + 0);
			} System.out.println(area + " " + 0) System.out.println System.out System System.out area + " " + 0 area + " " + 0 area " " 0 String[] args args public class Main {

	public static void main(String[] args) {
		
		try (Scanner sc = new Scanner(System.in)) {
			double w = sc.nextInt();
			double h = sc.nextInt();
			double x = sc.nextInt();
			double y = sc.nextInt();
			
			double area = w * h / 2;
			boolean check = false;
			
			if (w / 2 == x && h / 2 == y) {
				check = true;
			}
			
			if (check) {
				System.out.println(area + " " + 1);
			} else {
				System.out.println(area + " " + 0);
			}
		}

	}

} public class Main {

	public static void main(String[] args) {
		
		try (Scanner sc = new Scanner(System.in)) {
			double w = sc.nextInt();
			double h = sc.nextInt();
			double x = sc.nextInt();
			double y = sc.nextInt();
			
			double area = w * h / 2;
			boolean check = false;
			
			if (w / 2 == x && h / 2 == y) {
				check = true;
			}
			
			if (check) {
				System.out.println(area + " " + 1);
			} else {
				System.out.println(area + " " + 0);
			}
		}

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		
		try (Scanner sc = new Scanner(System.in)) {
			double w = sc.nextInt();
			double h = sc.nextInt();
			double x = sc.nextInt();
			double y = sc.nextInt();
			
			double area = w * h / 2;
			boolean check = false;
			
			if (w / 2 == x && h / 2 == y) {
				check = true;
			}
			
			if (check) {
				System.out.println(area + " " + 1);
			} else {
				System.out.println(area + " " + 0);
			}
		}

	}

}
