import java.util.*;

public class Main {
	Scanner sc = new Scanner(System.in);
	final int MOD = 1000000007;
	final int MAX = Integer.MAX_VALUE;
	final long LMAX = Long.MAX_VALUE;


	void doIt() {
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		System.out.println(w * h / 2.0 + " " 
		+ ((w / 2 == x && h / 2 == y)?1:0));
	}


	public static void main(String[] args) {
		new Main().doIt();
	}
} import java.util.*; util.* java public class Main {
	Scanner sc = new Scanner(System.in);
	final int MOD = 1000000007;
	final int MAX = Integer.MAX_VALUE;
	final long LMAX = Long.MAX_VALUE;


	void doIt() {
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		System.out.println(w * h / 2.0 + " " 
		+ ((w / 2 == x && h / 2 == y)?1:0));
	}


	public static void main(String[] args) {
		new Main().doIt();
	}
} Main Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final int MOD = 1000000007; MOD 1000000007 final int MAX = Integer.MAX_VALUE; MAX Integer.MAX_VALUE Integer Integer.MAX_VALUE final long LMAX = Long.MAX_VALUE; LMAX Long.MAX_VALUE Long Long.MAX_VALUE void doIt() {
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		System.out.println(w * h / 2.0 + " " 
		+ ((w / 2 == x && h / 2 == y)?1:0));
	} doIt {
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		System.out.println(w * h / 2.0 + " " 
		+ ((w / 2 == x && h / 2 == y)?1:0));
	} 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 System.out.println(w * h / 2.0 + " " 
		+ ((w / 2 == x && h / 2 == y)?1:0)) System.out.println System.out System System.out w * h / 2.0 + " " 
		+ ((w / 2 == x && h / 2 == y)?1:0) w * h / 2.0 + " " 
		+ ((w / 2 == x && h / 2 == y)?1:0) w * h / 2.0 w * h w h 2.0 " " ((w / 2 == x && h / 2 == y)?1:0) (w / 2 == x && h / 2 == y) w / 2 == x w / 2 w 2 x h / 2 == y h / 2 h 2 y 1 0 public static void main(String[] args) {
		new Main().doIt();
	} main {
		new Main().doIt();
	} new Main().doIt() new Main().doIt new Main() String[] args args public class Main {
	Scanner sc = new Scanner(System.in);
	final int MOD = 1000000007;
	final int MAX = Integer.MAX_VALUE;
	final long LMAX = Long.MAX_VALUE;


	void doIt() {
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		System.out.println(w * h / 2.0 + " " 
		+ ((w / 2 == x && h / 2 == y)?1:0));
	}


	public static void main(String[] args) {
		new Main().doIt();
	}
} public class Main {
	Scanner sc = new Scanner(System.in);
	final int MOD = 1000000007;
	final int MAX = Integer.MAX_VALUE;
	final long LMAX = Long.MAX_VALUE;


	void doIt() {
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		System.out.println(w * h / 2.0 + " " 
		+ ((w / 2 == x && h / 2 == y)?1:0));
	}


	public static void main(String[] args) {
		new Main().doIt();
	}
} Main
import java.util.*;

public class Main {
	Scanner sc = new Scanner(System.in);
	final int MOD = 1000000007;
	final int MAX = Integer.MAX_VALUE;
	final long LMAX = Long.MAX_VALUE;


	void doIt() {
		double w = sc.nextInt();
		double h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		System.out.println(w * h / 2.0 + " " 
		+ ((w / 2 == x && h / 2 == y)?1:0));
	}


	public static void main(String[] args) {
		new Main().doIt();
	}
}
