import java.util.Scanner;

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

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