import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		long w = stdIn.nextInt();
		long h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();
		
		
		if(2*x == w && 2*y == h) {
			System.out.println(w*h/2.0 + " 1");
		}else {
			System.out.println(w*h/2.0 + " 0");
		}
		
		
		
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		long w = stdIn.nextInt();
		long h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();
		
		
		if(2*x == w && 2*y == h) {
			System.out.println(w*h/2.0 + " 1");
		}else {
			System.out.println(w*h/2.0 + " 0");
		}
		
		
		
	}

} Main public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		long w = stdIn.nextInt();
		long h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();
		
		
		if(2*x == w && 2*y == h) {
			System.out.println(w*h/2.0 + " 1");
		}else {
			System.out.println(w*h/2.0 + " 0");
		}
		
		
		
	} main {
		Scanner stdIn = new Scanner(System.in);
		
		long w = stdIn.nextInt();
		long h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();
		
		
		if(2*x == w && 2*y == h) {
			System.out.println(w*h/2.0 + " 1");
		}else {
			System.out.println(w*h/2.0 + " 0");
		}
		
		
		
	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) long w = stdIn.nextInt(); w stdIn.nextInt() stdIn.nextInt stdIn long h = stdIn.nextInt(); h stdIn.nextInt() stdIn.nextInt stdIn int x = stdIn.nextInt(); x stdIn.nextInt() stdIn.nextInt stdIn int y = stdIn.nextInt(); y stdIn.nextInt() stdIn.nextInt stdIn if(2*x == w && 2*y == h) {
			System.out.println(w*h/2.0 + " 1");
		}else {
			System.out.println(w*h/2.0 + " 0");
		} 2*x == w && 2*y == h 2*x == w 2*x 2 x w 2*y == h 2*y 2 y h {
			System.out.println(w*h/2.0 + " 1");
		} System.out.println(w*h/2.0 + " 1") System.out.println System.out System System.out w*h/2.0 + " 1" w*h/2.0 w*h w h 2.0 " 1" {
			System.out.println(w*h/2.0 + " 0");
		} System.out.println(w*h/2.0 + " 0") System.out.println System.out System System.out w*h/2.0 + " 0" w*h/2.0 w*h w h 2.0 " 0" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		long w = stdIn.nextInt();
		long h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();
		
		
		if(2*x == w && 2*y == h) {
			System.out.println(w*h/2.0 + " 1");
		}else {
			System.out.println(w*h/2.0 + " 0");
		}
		
		
		
	}

} public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		long w = stdIn.nextInt();
		long h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();
		
		
		if(2*x == w && 2*y == h) {
			System.out.println(w*h/2.0 + " 1");
		}else {
			System.out.println(w*h/2.0 + " 0");
		}
		
		
		
	}

} Main
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		
		long w = stdIn.nextInt();
		long h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();
		
		
		if(2*x == w && 2*y == h) {
			System.out.println(w*h/2.0 + " 1");
		}else {
			System.out.println(w*h/2.0 + " 0");
		}
		
		
		
	}

}
