import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		boolean center = false;
		if(x*2==w && y*2==h) center = true;
		double area = ((double)w*(double)h)/2;
		String ans = area + " " + (center?"1":"0");
		System.out.println(ans);
		in.close();
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		boolean center = false;
		if(x*2==w && y*2==h) center = true;
		double area = ((double)w*(double)h)/2;
		String ans = area + " " + (center?"1":"0");
		System.out.println(ans);
		in.close();
	}

} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		boolean center = false;
		if(x*2==w && y*2==h) center = true;
		double area = ((double)w*(double)h)/2;
		String ans = area + " " + (center?"1":"0");
		System.out.println(ans);
		in.close();
	} main {
		Scanner in = new Scanner(System.in);
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		boolean center = false;
		if(x*2==w && y*2==h) center = true;
		double area = ((double)w*(double)h)/2;
		String ans = area + " " + (center?"1":"0");
		System.out.println(ans);
		in.close();
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) int w = in.nextInt(); w in.nextInt() in.nextInt in int h = in.nextInt(); h in.nextInt() in.nextInt in int x = in.nextInt(); x in.nextInt() in.nextInt in int y = in.nextInt(); y in.nextInt() in.nextInt in boolean center = false; center false if(x*2==w && y*2==h) center = true; x*2==w && y*2==h x*2==w x*2 x 2 w y*2==h y*2 y 2 h center = true center true double area = ((double)w*(double)h)/2; area ((double)w*(double)h)/2 ((double)w*(double)h) (double)w (double)h 2 String ans = area + " " + (center?"1":"0"); ans area + " " + (center?"1":"0") area + " " + (center?"1":"0") area " " (center?"1":"0") center "1" "0" System.out.println(ans) System.out.println System.out System System.out ans in.close() in.close in String[] args args public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		boolean center = false;
		if(x*2==w && y*2==h) center = true;
		double area = ((double)w*(double)h)/2;
		String ans = area + " " + (center?"1":"0");
		System.out.println(ans);
		in.close();
	}

} public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		boolean center = false;
		if(x*2==w && y*2==h) center = true;
		double area = ((double)w*(double)h)/2;
		String ans = area + " " + (center?"1":"0");
		System.out.println(ans);
		in.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		boolean center = false;
		if(x*2==w && y*2==h) center = true;
		double area = ((double)w*(double)h)/2;
		String ans = area + " " + (center?"1":"0");
		System.out.println(ans);
		in.close();
	}

}
