import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		double W = 0;
		double H = 0;
		double x = 0;
		double y = 0;
		Scanner sc = new Scanner(System.in);
		W = Integer.parseInt(sc.next());
		H = Integer.parseInt(sc.next());
		x = Integer.parseInt(sc.next());
		y = Integer.parseInt(sc.next());
		int flag = 0;
		if (W / 2 == x && H / 2 == y)
			flag = 1;
		System.out.println(W * H / 2 + " " + flag);
		sc.close();
	}

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

	public static void main(String[] args) {
		double W = 0;
		double H = 0;
		double x = 0;
		double y = 0;
		Scanner sc = new Scanner(System.in);
		W = Integer.parseInt(sc.next());
		H = Integer.parseInt(sc.next());
		x = Integer.parseInt(sc.next());
		y = Integer.parseInt(sc.next());
		int flag = 0;
		if (W / 2 == x && H / 2 == y)
			flag = 1;
		System.out.println(W * H / 2 + " " + flag);
		sc.close();
	}

} Main public static void main(String[] args) {
		double W = 0;
		double H = 0;
		double x = 0;
		double y = 0;
		Scanner sc = new Scanner(System.in);
		W = Integer.parseInt(sc.next());
		H = Integer.parseInt(sc.next());
		x = Integer.parseInt(sc.next());
		y = Integer.parseInt(sc.next());
		int flag = 0;
		if (W / 2 == x && H / 2 == y)
			flag = 1;
		System.out.println(W * H / 2 + " " + flag);
		sc.close();
	} main {
		double W = 0;
		double H = 0;
		double x = 0;
		double y = 0;
		Scanner sc = new Scanner(System.in);
		W = Integer.parseInt(sc.next());
		H = Integer.parseInt(sc.next());
		x = Integer.parseInt(sc.next());
		y = Integer.parseInt(sc.next());
		int flag = 0;
		if (W / 2 == x && H / 2 == y)
			flag = 1;
		System.out.println(W * H / 2 + " " + flag);
		sc.close();
	} double W = 0; W 0 double H = 0; H 0 double x = 0; x 0 double y = 0; y 0 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) W = Integer.parseInt(sc.next()) W Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc H = Integer.parseInt(sc.next()) H Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc x = Integer.parseInt(sc.next()) x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc y = Integer.parseInt(sc.next()) y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int flag = 0; flag 0 if (W / 2 == x && H / 2 == y)
			flag = 1; W / 2 == x && H / 2 == y W / 2 == x W / 2 W 2 x H / 2 == y H / 2 H 2 y flag = 1 flag 1 System.out.println(W * H / 2 + " " + flag) System.out.println System.out System System.out W * H / 2 + " " + flag W * H / 2 + " " + flag W * H / 2 W * H W H 2 " " flag sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {
		double W = 0;
		double H = 0;
		double x = 0;
		double y = 0;
		Scanner sc = new Scanner(System.in);
		W = Integer.parseInt(sc.next());
		H = Integer.parseInt(sc.next());
		x = Integer.parseInt(sc.next());
		y = Integer.parseInt(sc.next());
		int flag = 0;
		if (W / 2 == x && H / 2 == y)
			flag = 1;
		System.out.println(W * H / 2 + " " + flag);
		sc.close();
	}

} public class Main {

	public static void main(String[] args) {
		double W = 0;
		double H = 0;
		double x = 0;
		double y = 0;
		Scanner sc = new Scanner(System.in);
		W = Integer.parseInt(sc.next());
		H = Integer.parseInt(sc.next());
		x = Integer.parseInt(sc.next());
		y = Integer.parseInt(sc.next());
		int flag = 0;
		if (W / 2 == x && H / 2 == y)
			flag = 1;
		System.out.println(W * H / 2 + " " + flag);
		sc.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		double W = 0;
		double H = 0;
		double x = 0;
		double y = 0;
		Scanner sc = new Scanner(System.in);
		W = Integer.parseInt(sc.next());
		H = Integer.parseInt(sc.next());
		x = Integer.parseInt(sc.next());
		y = Integer.parseInt(sc.next());
		int flag = 0;
		if (W / 2 == x && H / 2 == y)
			flag = 1;
		System.out.println(W * H / 2 + " " + flag);
		sc.close();
	}

}