import 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();
		
		double s = (double)w * h / 2;
		System.out.print(s);
		
		if (x*2==w&&y*2==h) {
			System.out.println(" 1");
		} else {
			System.out.println(" 0");
		}
		
		sc.close();
	}
} import java.util.*; util.* java 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();
		
		double s = (double)w * h / 2;
		System.out.print(s);
		
		if (x*2==w&&y*2==h) {
			System.out.println(" 1");
		} else {
			System.out.println(" 0");
		}
		
		sc.close();
	}
} 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();
		
		double s = (double)w * h / 2;
		System.out.print(s);
		
		if (x*2==w&&y*2==h) {
			System.out.println(" 1");
		} else {
			System.out.println(" 0");
		}
		
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		int w = sc.nextInt();
		int h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		double s = (double)w * h / 2;
		System.out.print(s);
		
		if (x*2==w&&y*2==h) {
			System.out.println(" 1");
		} else {
			System.out.println(" 0");
		}
		
		sc.close();
	} 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 double s = (double)w * h / 2; s (double)w * h / 2 (double)w * h (double)w h 2 System.out.print(s) System.out.print System.out System System.out s if (x*2==w&&y*2==h) {
			System.out.println(" 1");
		} else {
			System.out.println(" 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(" 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" sc.close() sc.close sc 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();
		
		double s = (double)w * h / 2;
		System.out.print(s);
		
		if (x*2==w&&y*2==h) {
			System.out.println(" 1");
		} else {
			System.out.println(" 0");
		}
		
		sc.close();
	}
} 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();
		
		double s = (double)w * h / 2;
		System.out.print(s);
		
		if (x*2==w&&y*2==h) {
			System.out.println(" 1");
		} else {
			System.out.println(" 0");
		}
		
		sc.close();
	}
} Main
import 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();
		
		double s = (double)w * h / 2;
		System.out.print(s);
		
		if (x*2==w&&y*2==h) {
			System.out.println(" 1");
		} else {
			System.out.println(" 0");
		}
		
		sc.close();
	}
}