import 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();
		int result = (x*2 == W && y*2 == H)?1:0;
		sc.close();
		System.out.print((double)(W*H)/2 + " " + result);
	}
} import java.util.*; util.* java 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();
		int result = (x*2 == W && y*2 == H)?1:0;
		sc.close();
		System.out.print((double)(W*H)/2 + " " + result);
	}
} 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();
		int result = (x*2 == W && y*2 == H)?1:0;
		sc.close();
		System.out.print((double)(W*H)/2 + " " + result);
	} main {

		Scanner sc = new Scanner(System.in);
		long W = sc.nextLong();
		long H = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();
		int result = (x*2 == W && y*2 == H)?1:0;
		sc.close();
		System.out.print((double)(W*H)/2 + " " + result);
	} 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 int result = (x*2 == W && y*2 == H)?1:0; result (x*2 == W && y*2 == H)?1:0 (x*2 == W && y*2 == H) x*2 == W x*2 x 2 W y*2 == H y*2 y 2 H 1 0 sc.close() sc.close sc System.out.print((double)(W*H)/2 + " " + result) System.out.print System.out System System.out (double)(W*H)/2 + " " + result (double)(W*H)/2 + " " + result (double)(W*H)/2 (double)(W*H) W H 2 " " result 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();
		int result = (x*2 == W && y*2 == H)?1:0;
		sc.close();
		System.out.print((double)(W*H)/2 + " " + result);
	}
} 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();
		int result = (x*2 == W && y*2 == H)?1:0;
		sc.close();
		System.out.print((double)(W*H)/2 + " " + result);
	}
} Main
import 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();
		int result = (x*2 == W && y*2 == H)?1:0;
		sc.close();
		System.out.print((double)(W*H)/2 + " " + result);
	}
}