import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);


		int w = stdIn.nextInt();
		int h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();


		System.out.print(w*(long)h/2.0+" ");
		if(x*2 == w && y * 2 == h) {
			System.out.println("1");
		}else {
			System.out.println("0");
		}



	}

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

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);


		int w = stdIn.nextInt();
		int h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();


		System.out.print(w*(long)h/2.0+" ");
		if(x*2 == w && y * 2 == h) {
			System.out.println("1");
		}else {
			System.out.println("0");
		}



	}

} Main public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);


		int w = stdIn.nextInt();
		int h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();


		System.out.print(w*(long)h/2.0+" ");
		if(x*2 == w && y * 2 == h) {
			System.out.println("1");
		}else {
			System.out.println("0");
		}



	} main {
		Scanner stdIn = new Scanner(System.in);


		int w = stdIn.nextInt();
		int h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();


		System.out.print(w*(long)h/2.0+" ");
		if(x*2 == w && y * 2 == h) {
			System.out.println("1");
		}else {
			System.out.println("0");
		}



	} Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) int w = stdIn.nextInt(); w stdIn.nextInt() stdIn.nextInt stdIn int 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 System.out.print(w*(long)h/2.0+" ") System.out.print System.out System System.out w*(long)h/2.0+" " w*(long)h/2.0 w*(long)h w (long)h 2.0 " " 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" String[] args args public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);


		int w = stdIn.nextInt();
		int h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();


		System.out.print(w*(long)h/2.0+" ");
		if(x*2 == w && y * 2 == h) {
			System.out.println("1");
		}else {
			System.out.println("0");
		}



	}

} public class Main {

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);


		int w = stdIn.nextInt();
		int h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();


		System.out.print(w*(long)h/2.0+" ");
		if(x*2 == w && y * 2 == h) {
			System.out.println("1");
		}else {
			System.out.println("0");
		}



	}

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

	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);


		int w = stdIn.nextInt();
		int h = stdIn.nextInt();
		int x = stdIn.nextInt();
		int y = stdIn.nextInt();


		System.out.print(w*(long)h/2.0+" ");
		if(x*2 == w && y * 2 == h) {
			System.out.println("1");
		}else {
			System.out.println("0");
		}



	}

}
