import java.util.Scanner;

public class Main {

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

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

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

} Main public static void main(String[] args) {
		Scanner scn = new Scanner(System.in);
		long W = scn.nextLong(), H = scn.nextLong();
		long x = scn.nextLong(), y = scn.nextLong();
		double ans = (double)(W*H)/2;
		System.out.println(ans + " " + ((2*x==W && 2*y == H)?1:0));
	} main {
		Scanner scn = new Scanner(System.in);
		long W = scn.nextLong(), H = scn.nextLong();
		long x = scn.nextLong(), y = scn.nextLong();
		double ans = (double)(W*H)/2;
		System.out.println(ans + " " + ((2*x==W && 2*y == H)?1:0));
	} Scanner scn = new Scanner(System.in); scn new Scanner(System.in) long W = scn.nextLong() W scn.nextLong() scn.nextLong scn H = scn.nextLong(); H scn.nextLong() scn.nextLong scn long x = scn.nextLong() x scn.nextLong() scn.nextLong scn y = scn.nextLong(); y scn.nextLong() scn.nextLong scn double ans = (double)(W*H)/2; ans (double)(W*H)/2 (double)(W*H) W H 2 System.out.println(ans + " " + ((2*x==W && 2*y == H)?1:0)) System.out.println System.out System System.out ans + " " + ((2*x==W && 2*y == H)?1:0) ans + " " + ((2*x==W && 2*y == H)?1:0) ans " " ((2*x==W && 2*y == H)?1:0) (2*x==W && 2*y == H) 2*x==W 2*x 2 x W 2*y == H 2*y 2 y H 1 0 String[] args args public class Main {

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

} public class Main {

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

} Main
import java.util.Scanner;

public class Main {

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

}
