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();
		double s = ((double)w*(double)h)/2;
		if (w%2==0&&h%2==0) {
			if (w/2==x&&y==h/2) {
				System.out.println(s+" "+1);
			} else {
				System.out.println(s+" "+0);
			}
		} else {
			System.out.println(s+" "+0);
		}
	}
} 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();
		double s = ((double)w*(double)h)/2;
		if (w%2==0&&h%2==0) {
			if (w/2==x&&y==h/2) {
				System.out.println(s+" "+1);
			} else {
				System.out.println(s+" "+0);
			}
		} else {
			System.out.println(s+" "+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();
		double s = ((double)w*(double)h)/2;
		if (w%2==0&&h%2==0) {
			if (w/2==x&&y==h/2) {
				System.out.println(s+" "+1);
			} else {
				System.out.println(s+" "+0);
			}
		} else {
			System.out.println(s+" "+0);
		}
	} 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*(double)h)/2;
		if (w%2==0&&h%2==0) {
			if (w/2==x&&y==h/2) {
				System.out.println(s+" "+1);
			} else {
				System.out.println(s+" "+0);
			}
		} else {
			System.out.println(s+" "+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 double s = ((double)w*(double)h)/2; s ((double)w*(double)h)/2 ((double)w*(double)h) (double)w (double)h 2 if (w%2==0&&h%2==0) {
			if (w/2==x&&y==h/2) {
				System.out.println(s+" "+1);
			} else {
				System.out.println(s+" "+0);
			}
		} else {
			System.out.println(s+" "+0);
		} w%2==0&&h%2==0 w%2==0 w%2 w 2 0 h%2==0 h%2 h 2 0 {
			if (w/2==x&&y==h/2) {
				System.out.println(s+" "+1);
			} else {
				System.out.println(s+" "+0);
			}
		} if (w/2==x&&y==h/2) {
				System.out.println(s+" "+1);
			} else {
				System.out.println(s+" "+0);
			} w/2==x&&y==h/2 w/2==x w/2 w 2 x y==h/2 y h/2 h 2 {
				System.out.println(s+" "+1);
			} System.out.println(s+" "+1) System.out.println System.out System System.out s+" "+1 s+" "+1 s " " 1 {
				System.out.println(s+" "+0);
			} System.out.println(s+" "+0) System.out.println System.out System System.out s+" "+0 s+" "+0 s " " 0 {
			System.out.println(s+" "+0);
		} System.out.println(s+" "+0) System.out.println System.out System System.out s+" "+0 s+" "+0 s " " 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();
		double s = ((double)w*(double)h)/2;
		if (w%2==0&&h%2==0) {
			if (w/2==x&&y==h/2) {
				System.out.println(s+" "+1);
			} else {
				System.out.println(s+" "+0);
			}
		} else {
			System.out.println(s+" "+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();
		double s = ((double)w*(double)h)/2;
		if (w%2==0&&h%2==0) {
			if (w/2==x&&y==h/2) {
				System.out.println(s+" "+1);
			} else {
				System.out.println(s+" "+0);
			}
		} else {
			System.out.println(s+" "+0);
		}
	}
} Main
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();
		double s = ((double)w*(double)h)/2;
		if (w%2==0&&h%2==0) {
			if (w/2==x&&y==h/2) {
				System.out.println(s+" "+1);
			} else {
				System.out.println(s+" "+0);
			}
		} else {
			System.out.println(s+" "+0);
		}
	}
}