import java.util.Scanner;

public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double w = scan.nextDouble();
		double h = scan.nextDouble();
		double x = scan.nextDouble();
		double y = scan.nextDouble();

		System.out.print(w * h / 2);
		System.out.print(" ");
		if(x + x == w && y + y == 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 scan = new Scanner(System.in);
		double w = scan.nextDouble();
		double h = scan.nextDouble();
		double x = scan.nextDouble();
		double y = scan.nextDouble();

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

	}
} Main public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double w = scan.nextDouble();
		double h = scan.nextDouble();
		double x = scan.nextDouble();
		double y = scan.nextDouble();

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

	} main {
		Scanner scan = new Scanner(System.in);
		double w = scan.nextDouble();
		double h = scan.nextDouble();
		double x = scan.nextDouble();
		double y = scan.nextDouble();

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

	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double w = scan.nextDouble(); w scan.nextDouble() scan.nextDouble scan double h = scan.nextDouble(); h scan.nextDouble() scan.nextDouble scan double x = scan.nextDouble(); x scan.nextDouble() scan.nextDouble scan double y = scan.nextDouble(); y scan.nextDouble() scan.nextDouble scan System.out.print(w * h / 2) System.out.print System.out System System.out w * h / 2 w * h w h 2 System.out.print(" ") System.out.print System.out System System.out " " if(x + x == w && y + y == h) {
			System.out.println(1);
		}else {
			System.out.println(0);
		} x + x == w && y + y == h x + x == w x + x x x w y + y == h y + y y y 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 scan = new Scanner(System.in);
		double w = scan.nextDouble();
		double h = scan.nextDouble();
		double x = scan.nextDouble();
		double y = scan.nextDouble();

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

	}
} public class Main{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		double w = scan.nextDouble();
		double h = scan.nextDouble();
		double x = scan.nextDouble();
		double y = scan.nextDouble();

		System.out.print(w * h / 2);
		System.out.print(" ");
		if(x + x == w && y + y == 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 scan = new Scanner(System.in);
		double w = scan.nextDouble();
		double h = scan.nextDouble();
		double x = scan.nextDouble();
		double y = scan.nextDouble();

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

	}
}
