import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		try (Scanner s = new Scanner(System.in)) {
			final long W = s.nextLong();
			final long H = s.nextLong();
			final long x = s.nextLong();
			final long y = s.nextLong();

			boolean b;
			if (W == 1 && H == 1) {
				b = false;
			} else if (W == 1) {
				b = H == y * 2;
			} else if (H == 1) {
				b = W == x * 2;
			} else {
				b = W == x * 2 && H == y * 2;
			}
			System.out.printf("%f %d%n", W * H / 2.0, b ? 1 : 0);
		}
	}
}

/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz