import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		long W = in.nextLong();
		long H = in.nextLong();
		long x = in.nextLong();
		long y = in.nextLong();
		System.out.println(String.format("%.9f", (double) W * H / 2));
		System.out.println(x * 2 == W && y * 2 == H ? 1 : 0);
		in.close();
	}

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

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		long W = in.nextLong();
		long H = in.nextLong();
		long x = in.nextLong();
		long y = in.nextLong();
		System.out.println(String.format("%.9f", (double) W * H / 2));
		System.out.println(x * 2 == W && y * 2 == H ? 1 : 0);
		in.close();
	}

} Main public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		long W = in.nextLong();
		long H = in.nextLong();
		long x = in.nextLong();
		long y = in.nextLong();
		System.out.println(String.format("%.9f", (double) W * H / 2));
		System.out.println(x * 2 == W && y * 2 == H ? 1 : 0);
		in.close();
	} main {
		Scanner in = new Scanner(System.in);
		long W = in.nextLong();
		long H = in.nextLong();
		long x = in.nextLong();
		long y = in.nextLong();
		System.out.println(String.format("%.9f", (double) W * H / 2));
		System.out.println(x * 2 == W && y * 2 == H ? 1 : 0);
		in.close();
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) long W = in.nextLong(); W in.nextLong() in.nextLong in long H = in.nextLong(); H in.nextLong() in.nextLong in long x = in.nextLong(); x in.nextLong() in.nextLong in long y = in.nextLong(); y in.nextLong() in.nextLong in System.out.println(String.format("%.9f", (double) W * H / 2)) System.out.println System.out System System.out String.format("%.9f", (double) W * H / 2) String.format String "%.9f" (double) W * H / 2 (double) W * H (double) W H 2 System.out.println(x * 2 == W && y * 2 == H ? 1 : 0) System.out.println System.out System System.out 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 in.close() in.close in String[] args args public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		long W = in.nextLong();
		long H = in.nextLong();
		long x = in.nextLong();
		long y = in.nextLong();
		System.out.println(String.format("%.9f", (double) W * H / 2));
		System.out.println(x * 2 == W && y * 2 == H ? 1 : 0);
		in.close();
	}

} public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		long W = in.nextLong();
		long H = in.nextLong();
		long x = in.nextLong();
		long y = in.nextLong();
		System.out.println(String.format("%.9f", (double) W * H / 2));
		System.out.println(x * 2 == W && y * 2 == H ? 1 : 0);
		in.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		long W = in.nextLong();
		long H = in.nextLong();
		long x = in.nextLong();
		long y = in.nextLong();
		System.out.println(String.format("%.9f", (double) W * H / 2));
		System.out.println(x * 2 == W && y * 2 == H ? 1 : 0);
		in.close();
	}

}