import java.io.InputStream;
import java.io.PrintStream;
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		long W = sc.nextInt();
		long H = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		
		sc.close();

		String a = BigDecimal.valueOf(((double)W*H)/2.0).toPlainString();		
		out.print(a);
		out.print(" ");
		
		if(W == x*2 && H == y*2) {
			out.println("1");
		}else {
			out.println("0");
		}
		
	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} import java.io.InputStream; InputStream java.io import java.io.PrintStream; PrintStream java.io import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		long W = sc.nextInt();
		long H = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		
		sc.close();

		String a = BigDecimal.valueOf(((double)W*H)/2.0).toPlainString();		
		out.print(a);
		out.print(" ");
		
		if(W == x*2 && H == y*2) {
			out.println("1");
		}else {
			out.println("0");
		}
		
	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} Main InputStream in = System.in; in System.in System System.in PrintStream out = System.out; out System.out System System.out public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		long W = sc.nextInt();
		long H = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		
		sc.close();

		String a = BigDecimal.valueOf(((double)W*H)/2.0).toPlainString();		
		out.print(a);
		out.print(" ");
		
		if(W == x*2 && H == y*2) {
			out.println("1");
		}else {
			out.println("0");
		}
		
	} _main {
		Scanner sc = new Scanner(in);

		long W = sc.nextInt();
		long H = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		
		sc.close();

		String a = BigDecimal.valueOf(((double)W*H)/2.0).toPlainString();		
		out.print(a);
		out.print(" ");
		
		if(W == x*2 && H == y*2) {
			out.println("1");
		}else {
			out.println("0");
		}
		
	} Scanner sc = new Scanner(in); sc new Scanner(in) long W = sc.nextInt(); W sc.nextInt() sc.nextInt sc long H = sc.nextInt(); H sc.nextInt() sc.nextInt sc long x = sc.nextInt(); x sc.nextInt() sc.nextInt sc long y = sc.nextInt(); y sc.nextInt() sc.nextInt sc sc.close() sc.close sc String a = BigDecimal.valueOf(((double)W*H)/2.0).toPlainString(); a BigDecimal.valueOf(((double)W*H)/2.0).toPlainString() BigDecimal.valueOf(((double)W*H)/2.0).toPlainString BigDecimal.valueOf(((double)W*H)/2.0) BigDecimal.valueOf BigDecimal ((double)W*H)/2.0 ((double)W*H) (double)W H 2.0 out.print(a) out.print out a out.print(" ") out.print out " " if(W == x*2 && H == y*2) {
			out.println("1");
		}else {
			out.println("0");
		} W == x*2 && H == y*2 W == x*2 W x*2 x 2 H == y*2 H y*2 y 2 {
			out.println("1");
		} out.println("1") out.println out "1" {
			out.println("0");
		} out.println("0") out.println out "0" String[] args args public static void main(String[] args) {
		new Main()._main(args);
	} main {
		new Main()._main(args);
	} new Main()._main(args) new Main()._main new Main() args String[] args args public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		long W = sc.nextInt();
		long H = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		
		sc.close();

		String a = BigDecimal.valueOf(((double)W*H)/2.0).toPlainString();		
		out.print(a);
		out.print(" ");
		
		if(W == x*2 && H == y*2) {
			out.println("1");
		}else {
			out.println("0");
		}
		
	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		long W = sc.nextInt();
		long H = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		
		sc.close();

		String a = BigDecimal.valueOf(((double)W*H)/2.0).toPlainString();		
		out.print(a);
		out.print(" ");
		
		if(W == x*2 && H == y*2) {
			out.println("1");
		}else {
			out.println("0");
		}
		
	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

} Main
import java.io.InputStream;
import java.io.PrintStream;
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
	InputStream in = System.in;
	PrintStream out = System.out;

	public void _main(String[] args) {
		Scanner sc = new Scanner(in);

		long W = sc.nextInt();
		long H = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		
		sc.close();

		String a = BigDecimal.valueOf(((double)W*H)/2.0).toPlainString();		
		out.print(a);
		out.print(" ");
		
		if(W == x*2 && H == y*2) {
			out.println("1");
		}else {
			out.println("0");
		}
		
	}

	public static void main(String[] args) {
		new Main()._main(args);
	}

}
