
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		
		double a1 = x*y, a2 = (w - x)*y, a3 = x*(h - y), a4 = (w - x)*(h - y);
//		System.out.println(a1+" "+a2+" "+a3+" "+a4);

//		System.out.print(Math.max(Math.min(a1 + a2, a3 + a4), Math.min(a1 + a3, a2 + a4)) + " ");
		System.out.print((double)w*h/2+" ");
		
//		if(Math.min(a1 + a2, a3 + a4) == Math.min(a1 + a3, a2 + a4)) {
		if((double)x == (double)w/2 && (double)y == (double)h/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}
	}

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

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		
		double a1 = x*y, a2 = (w - x)*y, a3 = x*(h - y), a4 = (w - x)*(h - y);
//		System.out.println(a1+" "+a2+" "+a3+" "+a4);

//		System.out.print(Math.max(Math.min(a1 + a2, a3 + a4), Math.min(a1 + a3, a2 + a4)) + " ");
		System.out.print((double)w*h/2+" ");
		
//		if(Math.min(a1 + a2, a3 + a4) == Math.min(a1 + a3, a2 + a4)) {
		if((double)x == (double)w/2 && (double)y == (double)h/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}
	}

} Main public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		
		double a1 = x*y, a2 = (w - x)*y, a3 = x*(h - y), a4 = (w - x)*(h - y);
//		System.out.println(a1+" "+a2+" "+a3+" "+a4);

//		System.out.print(Math.max(Math.min(a1 + a2, a3 + a4), Math.min(a1 + a3, a2 + a4)) + " ");
		System.out.print((double)w*h/2+" ");
		
//		if(Math.min(a1 + a2, a3 + a4) == Math.min(a1 + a3, a2 + a4)) {
		if((double)x == (double)w/2 && (double)y == (double)h/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}
	} main {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		
		double a1 = x*y, a2 = (w - x)*y, a3 = x*(h - y), a4 = (w - x)*(h - y);
//		System.out.println(a1+" "+a2+" "+a3+" "+a4);

//		System.out.print(Math.max(Math.min(a1 + a2, a3 + a4), Math.min(a1 + a3, a2 + a4)) + " ");
		System.out.print((double)w*h/2+" ");
		
//		if(Math.min(a1 + a2, a3 + a4) == Math.min(a1 + a3, a2 + a4)) {
		if((double)x == (double)w/2 && (double)y == (double)h/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}
	} 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 a1 = x*y a1 x*y x y a2 = (w - x)*y a2 (w - x)*y (w - x) w x y a3 = x*(h - y) a3 x*(h - y) x (h - y) h y a4 = (w - x)*(h - y); a4 (w - x)*(h - y) (w - x) w x (h - y) h y System.out.print((double)w*h/2+" ") System.out.print System.out System System.out (double)w*h/2+" " (double)w*h/2 (double)w*h (double)w h 2 " " if((double)x == (double)w/2 && (double)y == (double)h/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		} (double)x == (double)w/2 && (double)y == (double)h/2 (double)x == (double)w/2 (double)x (double)w/2 (double)w 2 (double)y == (double)h/2 (double)y (double)h/2 (double)h 2 {
			System.out.println(1);
		} System.out.println(1) System.out.println System.out System System.out 1 {
			System.out.println(0);
		} System.out.println(0) System.out.println System.out System System.out 0 String[] args args public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		
		double a1 = x*y, a2 = (w - x)*y, a3 = x*(h - y), a4 = (w - x)*(h - y);
//		System.out.println(a1+" "+a2+" "+a3+" "+a4);

//		System.out.print(Math.max(Math.min(a1 + a2, a3 + a4), Math.min(a1 + a3, a2 + a4)) + " ");
		System.out.print((double)w*h/2+" ");
		
//		if(Math.min(a1 + a2, a3 + a4) == Math.min(a1 + a3, a2 + a4)) {
		if((double)x == (double)w/2 && (double)y == (double)h/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}
	}

} public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		
		double a1 = x*y, a2 = (w - x)*y, a3 = x*(h - y), a4 = (w - x)*(h - y);
//		System.out.println(a1+" "+a2+" "+a3+" "+a4);

//		System.out.print(Math.max(Math.min(a1 + a2, a3 + a4), Math.min(a1 + a3, a2 + a4)) + " ");
		System.out.print((double)w*h/2+" ");
		
//		if(Math.min(a1 + a2, a3 + a4) == Math.min(a1 + a3, a2 + a4)) {
		if((double)x == (double)w/2 && (double)y == (double)h/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}
	}

} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);
		
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		
		double a1 = x*y, a2 = (w - x)*y, a3 = x*(h - y), a4 = (w - x)*(h - y);
//		System.out.println(a1+" "+a2+" "+a3+" "+a4);

//		System.out.print(Math.max(Math.min(a1 + a2, a3 + a4), Math.min(a1 + a3, a2 + a4)) + " ");
		System.out.print((double)w*h/2+" ");
		
//		if(Math.min(a1 + a2, a3 + a4) == Math.min(a1 + a3, a2 + a4)) {
		if((double)x == (double)w/2 && (double)y == (double)h/2) {
			System.out.println(1);
		}
		else {
			System.out.println(0);
		}
	}

}
