import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int count = 0;

		double ans = (double)W*H/2;
		if(W == 2*x && H == 2*y) {
			count = 1;
		}
		System.out.println(ans +" "+count);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int count = 0;

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

		double ans = (double)W*H/2;
		if(W == 2*x && H == 2*y) {
			count = 1;
		}
		System.out.println(ans +" "+count);
	} main {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int count = 0;

		double ans = (double)W*H/2;
		if(W == 2*x && H == 2*y) {
			count = 1;
		}
		System.out.println(ans +" "+count);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int W = sc.nextInt(); W sc.nextInt() sc.nextInt sc int 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 count = 0; count 0 double ans = (double)W*H/2; ans (double)W*H/2 (double)W*H (double)W H 2 if(W == 2*x && H == 2*y) {
			count = 1;
		} W == 2*x && H == 2*y W == 2*x W 2*x 2 x H == 2*y H 2*y 2 y {
			count = 1;
		} count = 1 count 1 System.out.println(ans +" "+count) System.out.println System.out System System.out ans +" "+count ans +" "+count ans " " count String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int count = 0;

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

		double ans = (double)W*H/2;
		if(W == 2*x && H == 2*y) {
			count = 1;
		}
		System.out.println(ans +" "+count);
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		int count = 0;

		double ans = (double)W*H/2;
		if(W == 2*x && H == 2*y) {
			count = 1;
		}
		System.out.println(ans +" "+count);
	}
}