import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		sc.close();
		BigDecimal TWO = new BigDecimal(2);
		BigDecimal bg_W = new BigDecimal(W);
		BigDecimal bg_H = new BigDecimal(H);
		int ans2 = 0;
		if (new BigDecimal(x).multiply(TWO).equals(bg_W) && new BigDecimal(y).multiply(TWO).equals(bg_H)) {
			ans2 = 1;
		}

		System.out.print(bg_W.multiply(bg_H).divide(TWO, 8, BigDecimal.ROUND_DOWN));
		System.out.println(" " + ans2);
	}
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		sc.close();
		BigDecimal TWO = new BigDecimal(2);
		BigDecimal bg_W = new BigDecimal(W);
		BigDecimal bg_H = new BigDecimal(H);
		int ans2 = 0;
		if (new BigDecimal(x).multiply(TWO).equals(bg_W) && new BigDecimal(y).multiply(TWO).equals(bg_H)) {
			ans2 = 1;
		}

		System.out.print(bg_W.multiply(bg_H).divide(TWO, 8, BigDecimal.ROUND_DOWN));
		System.out.println(" " + ans2);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		sc.close();
		BigDecimal TWO = new BigDecimal(2);
		BigDecimal bg_W = new BigDecimal(W);
		BigDecimal bg_H = new BigDecimal(H);
		int ans2 = 0;
		if (new BigDecimal(x).multiply(TWO).equals(bg_W) && new BigDecimal(y).multiply(TWO).equals(bg_H)) {
			ans2 = 1;
		}

		System.out.print(bg_W.multiply(bg_H).divide(TWO, 8, BigDecimal.ROUND_DOWN));
		System.out.println(" " + ans2);
	} main {
		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		sc.close();
		BigDecimal TWO = new BigDecimal(2);
		BigDecimal bg_W = new BigDecimal(W);
		BigDecimal bg_H = new BigDecimal(H);
		int ans2 = 0;
		if (new BigDecimal(x).multiply(TWO).equals(bg_W) && new BigDecimal(y).multiply(TWO).equals(bg_H)) {
			ans2 = 1;
		}

		System.out.print(bg_W.multiply(bg_H).divide(TWO, 8, BigDecimal.ROUND_DOWN));
		System.out.println(" " + ans2);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long W = sc.nextLong(); W sc.nextLong() sc.nextLong sc long H = sc.nextLong(); H sc.nextLong() sc.nextLong sc long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long y = sc.nextLong(); y sc.nextLong() sc.nextLong sc sc.close() sc.close sc BigDecimal TWO = new BigDecimal(2); TWO new BigDecimal(2) BigDecimal bg_W = new BigDecimal(W); bg_W new BigDecimal(W) BigDecimal bg_H = new BigDecimal(H); bg_H new BigDecimal(H) int ans2 = 0; ans2 0 if (new BigDecimal(x).multiply(TWO).equals(bg_W) && new BigDecimal(y).multiply(TWO).equals(bg_H)) {
			ans2 = 1;
		} new BigDecimal(x).multiply(TWO).equals(bg_W) && new BigDecimal(y).multiply(TWO).equals(bg_H) new BigDecimal(x).multiply(TWO).equals(bg_W) new BigDecimal(x).multiply(TWO).equals new BigDecimal(x).multiply(TWO) new BigDecimal(x).multiply new BigDecimal(x) TWO bg_W new BigDecimal(y).multiply(TWO).equals(bg_H) new BigDecimal(y).multiply(TWO).equals new BigDecimal(y).multiply(TWO) new BigDecimal(y).multiply new BigDecimal(y) TWO bg_H {
			ans2 = 1;
		} ans2 = 1 ans2 1 System.out.print(bg_W.multiply(bg_H).divide(TWO, 8, BigDecimal.ROUND_DOWN)) System.out.print System.out System System.out bg_W.multiply(bg_H).divide(TWO, 8, BigDecimal.ROUND_DOWN) bg_W.multiply(bg_H).divide bg_W.multiply(bg_H) bg_W.multiply bg_W bg_H TWO 8 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN System.out.println(" " + ans2) System.out.println System.out System System.out " " + ans2 " " ans2 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		sc.close();
		BigDecimal TWO = new BigDecimal(2);
		BigDecimal bg_W = new BigDecimal(W);
		BigDecimal bg_H = new BigDecimal(H);
		int ans2 = 0;
		if (new BigDecimal(x).multiply(TWO).equals(bg_W) && new BigDecimal(y).multiply(TWO).equals(bg_H)) {
			ans2 = 1;
		}

		System.out.print(bg_W.multiply(bg_H).divide(TWO, 8, BigDecimal.ROUND_DOWN));
		System.out.println(" " + ans2);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		sc.close();
		BigDecimal TWO = new BigDecimal(2);
		BigDecimal bg_W = new BigDecimal(W);
		BigDecimal bg_H = new BigDecimal(H);
		int ans2 = 0;
		if (new BigDecimal(x).multiply(TWO).equals(bg_W) && new BigDecimal(y).multiply(TWO).equals(bg_H)) {
			ans2 = 1;
		}

		System.out.print(bg_W.multiply(bg_H).divide(TWO, 8, BigDecimal.ROUND_DOWN));
		System.out.println(" " + ans2);
	}
} Main
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		sc.close();
		BigDecimal TWO = new BigDecimal(2);
		BigDecimal bg_W = new BigDecimal(W);
		BigDecimal bg_H = new BigDecimal(H);
		int ans2 = 0;
		if (new BigDecimal(x).multiply(TWO).equals(bg_W) && new BigDecimal(y).multiply(TWO).equals(bg_H)) {
			ans2 = 1;
		}

		System.out.print(bg_W.multiply(bg_H).divide(TWO, 8, BigDecimal.ROUND_DOWN));
		System.out.println(" " + ans2);
	}
}
