import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double w=sc.nextDouble(),h=sc.nextDouble(),x=sc.nextDouble(),y=sc.nextDouble();
		double sum=w*h;
		if(w/2==x&&h/2==y) {
			System.out.println(sum/2+" "+1);
		}else{
			System.out.println(sum/2+" "+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(),h=sc.nextDouble(),x=sc.nextDouble(),y=sc.nextDouble();
		double sum=w*h;
		if(w/2==x&&h/2==y) {
			System.out.println(sum/2+" "+1);
		}else{
			System.out.println(sum/2+" "+0);
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double w=sc.nextDouble(),h=sc.nextDouble(),x=sc.nextDouble(),y=sc.nextDouble();
		double sum=w*h;
		if(w/2==x&&h/2==y) {
			System.out.println(sum/2+" "+1);
		}else{
			System.out.println(sum/2+" "+0);
		}
	} main {
		Scanner sc = new Scanner(System.in);
		double w=sc.nextDouble(),h=sc.nextDouble(),x=sc.nextDouble(),y=sc.nextDouble();
		double sum=w*h;
		if(w/2==x&&h/2==y) {
			System.out.println(sum/2+" "+1);
		}else{
			System.out.println(sum/2+" "+0);
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w=sc.nextDouble() w sc.nextDouble() sc.nextDouble sc h=sc.nextDouble() h sc.nextDouble() sc.nextDouble sc x=sc.nextDouble() x sc.nextDouble() sc.nextDouble sc y=sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc double sum=w*h; sum w*h w h if(w/2==x&&h/2==y) {
			System.out.println(sum/2+" "+1);
		}else{
			System.out.println(sum/2+" "+0);
		} w/2==x&&h/2==y w/2==x w/2 w 2 x h/2==y h/2 h 2 y {
			System.out.println(sum/2+" "+1);
		} System.out.println(sum/2+" "+1) System.out.println System.out System System.out sum/2+" "+1 sum/2+" "+1 sum/2 sum 2 " " 1 {
			System.out.println(sum/2+" "+0);
		} System.out.println(sum/2+" "+0) System.out.println System.out System System.out sum/2+" "+0 sum/2+" "+0 sum/2 sum 2 " " 0 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double w=sc.nextDouble(),h=sc.nextDouble(),x=sc.nextDouble(),y=sc.nextDouble();
		double sum=w*h;
		if(w/2==x&&h/2==y) {
			System.out.println(sum/2+" "+1);
		}else{
			System.out.println(sum/2+" "+0);
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double w=sc.nextDouble(),h=sc.nextDouble(),x=sc.nextDouble(),y=sc.nextDouble();
		double sum=w*h;
		if(w/2==x&&h/2==y) {
			System.out.println(sum/2+" "+1);
		}else{
			System.out.println(sum/2+" "+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(),h=sc.nextDouble(),x=sc.nextDouble(),y=sc.nextDouble();
		double sum=w*h;
		if(w/2==x&&h/2==y) {
			System.out.println(sum/2+" "+1);
		}else{
			System.out.println(sum/2+" "+0);
		}
	}
}

