import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		double w,h,x,y;

		Scanner sc = new Scanner(System.in);

		w = sc.nextDouble();
		h = sc.nextDouble();

		x = sc.nextDouble();
		y = sc.nextDouble();

		double result = w * h /2;

		int ans ;

		if(w/2 == x && h/2 == y) {
			ans = 1;
			}else {
			ans = 0;
		}

		System.out.println(result + " " + ans);

	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		double w,h,x,y;

		Scanner sc = new Scanner(System.in);

		w = sc.nextDouble();
		h = sc.nextDouble();

		x = sc.nextDouble();
		y = sc.nextDouble();

		double result = w * h /2;

		int ans ;

		if(w/2 == x && h/2 == y) {
			ans = 1;
			}else {
			ans = 0;
		}

		System.out.println(result + " " + ans);

	}

} Main public static void main(String[] args) {

		double w,h,x,y;

		Scanner sc = new Scanner(System.in);

		w = sc.nextDouble();
		h = sc.nextDouble();

		x = sc.nextDouble();
		y = sc.nextDouble();

		double result = w * h /2;

		int ans ;

		if(w/2 == x && h/2 == y) {
			ans = 1;
			}else {
			ans = 0;
		}

		System.out.println(result + " " + ans);

	} main {

		double w,h,x,y;

		Scanner sc = new Scanner(System.in);

		w = sc.nextDouble();
		h = sc.nextDouble();

		x = sc.nextDouble();
		y = sc.nextDouble();

		double result = w * h /2;

		int ans ;

		if(w/2 == x && h/2 == y) {
			ans = 1;
			}else {
			ans = 0;
		}

		System.out.println(result + " " + ans);

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

		double w,h,x,y;

		Scanner sc = new Scanner(System.in);

		w = sc.nextDouble();
		h = sc.nextDouble();

		x = sc.nextDouble();
		y = sc.nextDouble();

		double result = w * h /2;

		int ans ;

		if(w/2 == x && h/2 == y) {
			ans = 1;
			}else {
			ans = 0;
		}

		System.out.println(result + " " + ans);

	}

} public class Main {
	public static void main(String[] args) {

		double w,h,x,y;

		Scanner sc = new Scanner(System.in);

		w = sc.nextDouble();
		h = sc.nextDouble();

		x = sc.nextDouble();
		y = sc.nextDouble();

		double result = w * h /2;

		int ans ;

		if(w/2 == x && h/2 == y) {
			ans = 1;
			}else {
			ans = 0;
		}

		System.out.println(result + " " + ans);

	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {

		double w,h,x,y;

		Scanner sc = new Scanner(System.in);

		w = sc.nextDouble();
		h = sc.nextDouble();

		x = sc.nextDouble();
		y = sc.nextDouble();

		double result = w * h /2;

		int ans ;

		if(w/2 == x && h/2 == y) {
			ans = 1;
			}else {
			ans = 0;
		}

		System.out.println(result + " " + ans);

	}

}
