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();
		double a = sc.nextDouble();
		double b = sc.nextDouble();
		
		double half = W * H / 2;
		System.out.print(half + " ");
		
		if((a == W / 2) && (b == H / 2)) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
	}

} 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 a = sc.nextDouble();
		double b = sc.nextDouble();
		
		double half = W * H / 2;
		System.out.print(half + " ");
		
		if((a == W / 2) && (b == H / 2)) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double W = sc.nextDouble();
		double H = sc.nextDouble();
		double a = sc.nextDouble();
		double b = sc.nextDouble();
		
		double half = W * H / 2;
		System.out.print(half + " ");
		
		if((a == W / 2) && (b == H / 2)) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
	} main {
		Scanner sc = new Scanner(System.in);
		double W = sc.nextDouble();
		double H = sc.nextDouble();
		double a = sc.nextDouble();
		double b = sc.nextDouble();
		
		double half = W * H / 2;
		System.out.print(half + " ");
		
		if((a == W / 2) && (b == H / 2)) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
	} 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 a = sc.nextDouble(); a sc.nextDouble() sc.nextDouble sc double b = sc.nextDouble(); b sc.nextDouble() sc.nextDouble sc double half = W * H / 2; half W * H / 2 W * H W H 2 System.out.print(half + " ") System.out.print System.out System System.out half + " " half " " if((a == W / 2) && (b == H / 2)) {
			System.out.print(1);
		}else {
			System.out.print(0);
		} (a == W / 2) && (b == H / 2) (a == W / 2) a W / 2 W 2 (b == H / 2) b H / 2 H 2 {
			System.out.print(1);
		} System.out.print(1) System.out.print System.out System System.out 1 {
			System.out.print(0);
		} System.out.print(0) System.out.print System.out System System.out 0 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 a = sc.nextDouble();
		double b = sc.nextDouble();
		
		double half = W * H / 2;
		System.out.print(half + " ");
		
		if((a == W / 2) && (b == H / 2)) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double W = sc.nextDouble();
		double H = sc.nextDouble();
		double a = sc.nextDouble();
		double b = sc.nextDouble();
		
		double half = W * H / 2;
		System.out.print(half + " ");
		
		if((a == W / 2) && (b == H / 2)) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
	}

} 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();
		double a = sc.nextDouble();
		double b = sc.nextDouble();
		
		double half = W * H / 2;
		System.out.print(half + " ");
		
		if((a == W / 2) && (b == H / 2)) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
	}

}