import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			double W = sc.nextDouble();
			double H = sc.nextDouble();
			double x = sc.nextDouble();
			double y = sc.nextDouble();
			System.out.println(W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0"));
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			double W = sc.nextDouble();
			double H = sc.nextDouble();
			double x = sc.nextDouble();
			double y = sc.nextDouble();
			System.out.println(W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0"));
		}
	}
} Main public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			double W = sc.nextDouble();
			double H = sc.nextDouble();
			double x = sc.nextDouble();
			double y = sc.nextDouble();
			System.out.println(W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0"));
		}
	} main {
		try (Scanner sc = new Scanner(System.in)) {
			double W = sc.nextDouble();
			double H = sc.nextDouble();
			double x = sc.nextDouble();
			double y = sc.nextDouble();
			System.out.println(W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0"));
		}
	} try (Scanner sc = new Scanner(System.in)) {
			double W = sc.nextDouble();
			double H = sc.nextDouble();
			double x = sc.nextDouble();
			double y = sc.nextDouble();
			System.out.println(W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0"));
		} {
			double W = sc.nextDouble();
			double H = sc.nextDouble();
			double x = sc.nextDouble();
			double y = sc.nextDouble();
			System.out.println(W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0"));
		} Scanner sc = new Scanner(System.in) Scanner sc = new Scanner(System.in) new Scanner(System.in) double W = sc.nextDouble(); W sc.nextDouble() sc.nextDouble sc double H = sc.nextDouble(); H sc.nextDouble() sc.nextDouble sc double x = sc.nextDouble(); x sc.nextDouble() sc.nextDouble sc double y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc System.out.println(W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0")) System.out.println System.out System System.out W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0") W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0") W * H / 2 W * H W H 2 " " (x * 2 == W && y * 2 == H ? "1" : "0") x * 2 == W && y * 2 == H x * 2 == W x * 2 x 2 W y * 2 == H y * 2 y 2 H "1" "0" String[] args args public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			double W = sc.nextDouble();
			double H = sc.nextDouble();
			double x = sc.nextDouble();
			double y = sc.nextDouble();
			System.out.println(W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0"));
		}
	}
} public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			double W = sc.nextDouble();
			double H = sc.nextDouble();
			double x = sc.nextDouble();
			double y = sc.nextDouble();
			System.out.println(W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0"));
		}
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner sc = new Scanner(System.in)) {
			double W = sc.nextDouble();
			double H = sc.nextDouble();
			double x = sc.nextDouble();
			double y = sc.nextDouble();
			System.out.println(W * H / 2 + " " + (x * 2 == W && y * 2 == H ? "1" : "0"));
		}
	}
}