import java.util.*;

public class Main {
    static final int MOD = 1000000007;
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int result = 0;
		if (x * 2 == w && y * 2 == h) {
		    result++;
		}
		System.out.println((w * h / 2.0) + " " + result);
   }
} import java.util.*; util.* java public class Main {
    static final int MOD = 1000000007;
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int result = 0;
		if (x * 2 == w && y * 2 == h) {
		    result++;
		}
		System.out.println((w * h / 2.0) + " " + result);
   }
} Main static final int MOD = 1000000007; MOD 1000000007 public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int result = 0;
		if (x * 2 == w && y * 2 == h) {
		    result++;
		}
		System.out.println((w * h / 2.0) + " " + result);
   } main {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int result = 0;
		if (x * 2 == w && y * 2 == h) {
		    result++;
		}
		System.out.println((w * h / 2.0) + " " + result);
   } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w = sc.nextInt(); w sc.nextInt() sc.nextInt sc double h = sc.nextInt(); h sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int result = 0; result 0 if (x * 2 == w && y * 2 == h) {
		    result++;
		} x * 2 == w && y * 2 == h x * 2 == w x * 2 x 2 w y * 2 == h y * 2 y 2 h {
		    result++;
		} result++ result System.out.println((w * h / 2.0) + " " + result) System.out.println System.out System System.out (w * h / 2.0) + " " + result (w * h / 2.0) + " " + result (w * h / 2.0) w * h w h 2.0 " " result String[] args args public class Main {
    static final int MOD = 1000000007;
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int result = 0;
		if (x * 2 == w && y * 2 == h) {
		    result++;
		}
		System.out.println((w * h / 2.0) + " " + result);
   }
} public class Main {
    static final int MOD = 1000000007;
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int result = 0;
		if (x * 2 == w && y * 2 == h) {
		    result++;
		}
		System.out.println((w * h / 2.0) + " " + result);
   }
} Main
import java.util.*;

public class Main {
    static final int MOD = 1000000007;
	public static void main (String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int result = 0;
		if (x * 2 == w && y * 2 == h) {
		    result++;
		}
		System.out.println((w * h / 2.0) + " " + result);
   }
}
