import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y =  sc.nextInt();
		sc.close();
		BigDecimal bdw = new BigDecimal(W);
		BigDecimal bdh = new BigDecimal(H);
		double d = bdw.multiply(bdh).divide(new BigDecimal("2.0")).doubleValue();
		if(x* 2== W && y * 2 == H) {
			System.out.println(d +" "+"1");
		}else {
			System.out.println(d +" "+"0");
		}
	}
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y =  sc.nextInt();
		sc.close();
		BigDecimal bdw = new BigDecimal(W);
		BigDecimal bdh = new BigDecimal(H);
		double d = bdw.multiply(bdh).divide(new BigDecimal("2.0")).doubleValue();
		if(x* 2== W && y * 2 == H) {
			System.out.println(d +" "+"1");
		}else {
			System.out.println(d +" "+"0");
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y =  sc.nextInt();
		sc.close();
		BigDecimal bdw = new BigDecimal(W);
		BigDecimal bdh = new BigDecimal(H);
		double d = bdw.multiply(bdh).divide(new BigDecimal("2.0")).doubleValue();
		if(x* 2== W && y * 2 == H) {
			System.out.println(d +" "+"1");
		}else {
			System.out.println(d +" "+"0");
		}
	} main {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y =  sc.nextInt();
		sc.close();
		BigDecimal bdw = new BigDecimal(W);
		BigDecimal bdh = new BigDecimal(H);
		double d = bdw.multiply(bdh).divide(new BigDecimal("2.0")).doubleValue();
		if(x* 2== W && y * 2 == H) {
			System.out.println(d +" "+"1");
		}else {
			System.out.println(d +" "+"0");
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int W = sc.nextInt(); W sc.nextInt() sc.nextInt sc int H = sc.nextInt(); H sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y =  sc.nextInt(); y sc.nextInt() sc.nextInt sc sc.close() sc.close sc BigDecimal bdw = new BigDecimal(W); bdw new BigDecimal(W) BigDecimal bdh = new BigDecimal(H); bdh new BigDecimal(H) double d = bdw.multiply(bdh).divide(new BigDecimal("2.0")).doubleValue(); d bdw.multiply(bdh).divide(new BigDecimal("2.0")).doubleValue() bdw.multiply(bdh).divide(new BigDecimal("2.0")).doubleValue bdw.multiply(bdh).divide(new BigDecimal("2.0")) bdw.multiply(bdh).divide bdw.multiply(bdh) bdw.multiply bdw bdh new BigDecimal("2.0") if(x* 2== W && y * 2 == H) {
			System.out.println(d +" "+"1");
		}else {
			System.out.println(d +" "+"0");
		} x* 2== W && y * 2 == H x* 2== W x* 2 x 2 W y * 2 == H y * 2 y 2 H {
			System.out.println(d +" "+"1");
		} System.out.println(d +" "+"1") System.out.println System.out System System.out d +" "+"1" d +" "+"1" d " " "1" {
			System.out.println(d +" "+"0");
		} System.out.println(d +" "+"0") System.out.println System.out System System.out d +" "+"0" d +" "+"0" d " " "0" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y =  sc.nextInt();
		sc.close();
		BigDecimal bdw = new BigDecimal(W);
		BigDecimal bdh = new BigDecimal(H);
		double d = bdw.multiply(bdh).divide(new BigDecimal("2.0")).doubleValue();
		if(x* 2== W && y * 2 == H) {
			System.out.println(d +" "+"1");
		}else {
			System.out.println(d +" "+"0");
		}
	}
} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y =  sc.nextInt();
		sc.close();
		BigDecimal bdw = new BigDecimal(W);
		BigDecimal bdh = new BigDecimal(H);
		double d = bdw.multiply(bdh).divide(new BigDecimal("2.0")).doubleValue();
		if(x* 2== W && y * 2 == H) {
			System.out.println(d +" "+"1");
		}else {
			System.out.println(d +" "+"0");
		}
	}
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y =  sc.nextInt();
		sc.close();
		BigDecimal bdw = new BigDecimal(W);
		BigDecimal bdh = new BigDecimal(H);
		double d = bdw.multiply(bdh).divide(new BigDecimal("2.0")).doubleValue();
		if(x* 2== W && y * 2 == H) {
			System.out.println(d +" "+"1");
		}else {
			System.out.println(d +" "+"0");
		}
	}
}