
import java.util.Scanner;
public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		double ans = (double)w*(double)h/2;
		boolean jdg = false;
		if(w%2 == 0 && h%2 == 0) {
			if(w/2 == x && h/2 == y) {
				jdg = true;
			}
		}
		
		System.out.print(ans);
		System.out.print(" "); 
		if(jdg) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
		sc.close();
	}


} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		double ans = (double)w*(double)h/2;
		boolean jdg = false;
		if(w%2 == 0 && h%2 == 0) {
			if(w/2 == x && h/2 == y) {
				jdg = true;
			}
		}
		
		System.out.print(ans);
		System.out.print(" "); 
		if(jdg) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
		sc.close();
	}


} Main public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		double ans = (double)w*(double)h/2;
		boolean jdg = false;
		if(w%2 == 0 && h%2 == 0) {
			if(w/2 == x && h/2 == y) {
				jdg = true;
			}
		}
		
		System.out.print(ans);
		System.out.print(" "); 
		if(jdg) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		double ans = (double)w*(double)h/2;
		boolean jdg = false;
		if(w%2 == 0 && h%2 == 0) {
			if(w/2 == x && h/2 == y) {
				jdg = true;
			}
		}
		
		System.out.print(ans);
		System.out.print(" "); 
		if(jdg) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
		sc.close();
	} 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 ans = (double)w*(double)h/2; ans (double)w*(double)h/2 (double)w*(double)h (double)w (double)h 2 boolean jdg = false; jdg false if(w%2 == 0 && h%2 == 0) {
			if(w/2 == x && h/2 == y) {
				jdg = true;
			}
		} 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 && h/2 == y) {
				jdg = true;
			}
		} if(w/2 == x && h/2 == y) {
				jdg = true;
			} w/2 == x && h/2 == y w/2 == x w/2 w 2 x h/2 == y h/2 h 2 y {
				jdg = true;
			} jdg = true jdg true System.out.print(ans) System.out.print System.out System System.out ans System.out.print(" ") System.out.print System.out System System.out " " if(jdg) {
			System.out.println(1);
		}else {
			System.out.println(0);
		} jdg {
			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) throws Exception {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		double ans = (double)w*(double)h/2;
		boolean jdg = false;
		if(w%2 == 0 && h%2 == 0) {
			if(w/2 == x && h/2 == y) {
				jdg = true;
			}
		}
		
		System.out.print(ans);
		System.out.print(" "); 
		if(jdg) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
		sc.close();
	}


} public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		double ans = (double)w*(double)h/2;
		boolean jdg = false;
		if(w%2 == 0 && h%2 == 0) {
			if(w/2 == x && h/2 == y) {
				jdg = true;
			}
		}
		
		System.out.print(ans);
		System.out.print(" "); 
		if(jdg) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
		sc.close();
	}


} Main

import java.util.Scanner;
public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		double ans = (double)w*(double)h/2;
		boolean jdg = false;
		if(w%2 == 0 && h%2 == 0) {
			if(w/2 == x && h/2 == y) {
				jdg = true;
			}
		}
		
		System.out.print(ans);
		System.out.print(" "); 
		if(jdg) {
			System.out.println(1);
		}else {
			System.out.println(0);
		}
		sc.close();
	}


}
