import 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(), y = sc.nextInt();
		sc.close();
		int ans[] = {1, 0};
		int an = 1;
		if(2 * x == w && 2 * y == h)an = 0;
		double area = 0.0;
		area = (double)h * (double)w / 2.0;
		System.out.println(area + " " + ans[an]);
	}
} import java.util.*; util.* java 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(), y = sc.nextInt();
		sc.close();
		int ans[] = {1, 0};
		int an = 1;
		if(2 * x == w && 2 * y == h)an = 0;
		double area = 0.0;
		area = (double)h * (double)w / 2.0;
		System.out.println(area + " " + ans[an]);
	}
} 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(), y = sc.nextInt();
		sc.close();
		int ans[] = {1, 0};
		int an = 1;
		if(2 * x == w && 2 * y == h)an = 0;
		double area = 0.0;
		area = (double)h * (double)w / 2.0;
		System.out.println(area + " " + ans[an]);
	} main {
		Scanner sc = new Scanner(System.in);
		int w = sc.nextInt();
		int h = sc.nextInt();
		int x = sc.nextInt(), y = sc.nextInt();
		sc.close();
		int ans[] = {1, 0};
		int an = 1;
		if(2 * x == w && 2 * y == h)an = 0;
		double area = 0.0;
		area = (double)h * (double)w / 2.0;
		System.out.println(area + " " + ans[an]);
	} 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 y = sc.nextInt(); y sc.nextInt() sc.nextInt sc sc.close() sc.close sc int ans[] = {1, 0}; ans {1, 0} 1 0 int an = 1; an 1 if(2 * x == w && 2 * y == h)an = 0; 2 * x == w && 2 * y == h 2 * x == w 2 * x 2 x w 2 * y == h 2 * y 2 y h an = 0 an 0 double area = 0.0; area 0.0 area = (double)h * (double)w / 2.0 area (double)h * (double)w / 2.0 (double)h * (double)w (double)h (double)w 2.0 System.out.println(area + " " + ans[an]) System.out.println System.out System System.out area + " " + ans[an] area + " " + ans[an] area " " ans[an] ans an 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(), y = sc.nextInt();
		sc.close();
		int ans[] = {1, 0};
		int an = 1;
		if(2 * x == w && 2 * y == h)an = 0;
		double area = 0.0;
		area = (double)h * (double)w / 2.0;
		System.out.println(area + " " + ans[an]);
	}
} 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(), y = sc.nextInt();
		sc.close();
		int ans[] = {1, 0};
		int an = 1;
		if(2 * x == w && 2 * y == h)an = 0;
		double area = 0.0;
		area = (double)h * (double)w / 2.0;
		System.out.println(area + " " + ans[an]);
	}
} Main
import 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(), y = sc.nextInt();
		sc.close();
		int ans[] = {1, 0};
		int an = 1;
		if(2 * x == w && 2 * y == h)an = 0;
		double area = 0.0;
		area = (double)h * (double)w / 2.0;
		System.out.println(area + " " + ans[an]);
	}
}
