import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] s = br.readLine().split(" ");
		int w = Integer.parseInt(s[0]);
		int h = Integer.parseInt(s[1]);
		int x = Integer.parseInt(s[2]);
		int y = Integer.parseInt(s[3]);

		double q = (double)w * (double)h / 2.0d;
		int f = 0;
		if ( x*2 == w && y*2 == h ) {
			f = 1;
		}
		System.out.printf("%f %d\n",q,f);
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
	
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] s = br.readLine().split(" ");
		int w = Integer.parseInt(s[0]);
		int h = Integer.parseInt(s[1]);
		int x = Integer.parseInt(s[2]);
		int y = Integer.parseInt(s[3]);

		double q = (double)w * (double)h / 2.0d;
		int f = 0;
		if ( x*2 == w && y*2 == h ) {
			f = 1;
		}
		System.out.printf("%f %d\n",q,f);
	}
} Main public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] s = br.readLine().split(" ");
		int w = Integer.parseInt(s[0]);
		int h = Integer.parseInt(s[1]);
		int x = Integer.parseInt(s[2]);
		int y = Integer.parseInt(s[3]);

		double q = (double)w * (double)h / 2.0d;
		int f = 0;
		if ( x*2 == w && y*2 == h ) {
			f = 1;
		}
		System.out.printf("%f %d\n",q,f);
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] s = br.readLine().split(" ");
		int w = Integer.parseInt(s[0]);
		int h = Integer.parseInt(s[1]);
		int x = Integer.parseInt(s[2]);
		int y = Integer.parseInt(s[3]);

		double q = (double)w * (double)h / 2.0d;
		int f = 0;
		if ( x*2 == w && y*2 == h ) {
			f = 1;
		}
		System.out.printf("%f %d\n",q,f);
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] s = br.readLine().split(" "); s br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " int w = Integer.parseInt(s[0]); w Integer.parseInt(s[0]) Integer.parseInt Integer s[0] s 0 int h = Integer.parseInt(s[1]); h Integer.parseInt(s[1]) Integer.parseInt Integer s[1] s 1 int x = Integer.parseInt(s[2]); x Integer.parseInt(s[2]) Integer.parseInt Integer s[2] s 2 int y = Integer.parseInt(s[3]); y Integer.parseInt(s[3]) Integer.parseInt Integer s[3] s 3 double q = (double)w * (double)h / 2.0d; q (double)w * (double)h / 2.0d (double)w * (double)h (double)w (double)h 2.0d int f = 0; f 0 if ( x*2 == w && y*2 == h ) {
			f = 1;
		} x*2 == w && y*2 == h x*2 == w x*2 x 2 w y*2 == h y*2 y 2 h {
			f = 1;
		} f = 1 f 1 System.out.printf("%f %d\n",q,f) System.out.printf System.out System System.out "%f %d\n" q f String args[] args public class Main {
	
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] s = br.readLine().split(" ");
		int w = Integer.parseInt(s[0]);
		int h = Integer.parseInt(s[1]);
		int x = Integer.parseInt(s[2]);
		int y = Integer.parseInt(s[3]);

		double q = (double)w * (double)h / 2.0d;
		int f = 0;
		if ( x*2 == w && y*2 == h ) {
			f = 1;
		}
		System.out.printf("%f %d\n",q,f);
	}
} public class Main {
	
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] s = br.readLine().split(" ");
		int w = Integer.parseInt(s[0]);
		int h = Integer.parseInt(s[1]);
		int x = Integer.parseInt(s[2]);
		int y = Integer.parseInt(s[3]);

		double q = (double)w * (double)h / 2.0d;
		int f = 0;
		if ( x*2 == w && y*2 == h ) {
			f = 1;
		}
		System.out.printf("%f %d\n",q,f);
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {
	
	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] s = br.readLine().split(" ");
		int w = Integer.parseInt(s[0]);
		int h = Integer.parseInt(s[1]);
		int x = Integer.parseInt(s[2]);
		int y = Integer.parseInt(s[3]);

		double q = (double)w * (double)h / 2.0d;
		int f = 0;
		if ( x*2 == w && y*2 == h ) {
			f = 1;
		}
		System.out.printf("%f %d\n",q,f);
	}
}
