import java.util.Arrays;
import java.util.Scanner;

public class Main {
public static void main(String[] args) {
		
		Scanner keyboard = new Scanner(System.in); 
		
		long W  = keyboard.nextInt();
		long H  = keyboard.nextInt();
		long x  = keyboard.nextInt();
		long y  = keyboard.nextInt();
		
		double men = (W*H)/2.0;
		double a = x*H;
		double b = (W*H)-a;
		double c = y*W;
		double d = (W*H)-c;
		
		double xx = Math.min(a, b);
		double yy = Math.min(c, d);
		
		int hou = 0;
		
		if(xx == men) {
			hou ++;
		}
		if(yy == men) {
			hou ++;
		}
		
		if(hou <= 1) {
			hou = 0;
		}else {
			hou = 1;
		}

		System.out.print(men + " " + hou);
		keyboard.close();	
	}
}

/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