import java.util.*;

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

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