import java.util.*;

public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();
//		double a = Math.min(x*h, (w-x)*h);
//		double b = Math.min(w*y, w*(h-y));
//		double c = Math.max(a, b);
		double c = (double)w*h/2;
		int fuku = 0;
		if(w==2*x && h == 2*y) fuku = 1;
		System.out.println(String.format("%.6f %d", c, fuku));
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();
//		double a = Math.min(x*h, (w-x)*h);
//		double b = Math.min(w*y, w*(h-y));
//		double c = Math.max(a, b);
		double c = (double)w*h/2;
		int fuku = 0;
		if(w==2*x && h == 2*y) fuku = 1;
		System.out.println(String.format("%.6f %d", c, fuku));
	}
} Main public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();
//		double a = Math.min(x*h, (w-x)*h);
//		double b = Math.min(w*y, w*(h-y));
//		double c = Math.max(a, b);
		double c = (double)w*h/2;
		int fuku = 0;
		if(w==2*x && h == 2*y) fuku = 1;
		System.out.println(String.format("%.6f %d", c, fuku));
	} main {
		int i,j;
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();
//		double a = Math.min(x*h, (w-x)*h);
//		double b = Math.min(w*y, w*(h-y));
//		double c = Math.max(a, b);
		double c = (double)w*h/2;
		int fuku = 0;
		if(w==2*x && h == 2*y) fuku = 1;
		System.out.println(String.format("%.6f %d", c, fuku));
	} int i i j; j Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int w = Integer.parseInt(sc.next()); w Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int h = Integer.parseInt(sc.next()); h Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc sc.close() sc.close sc double c = (double)w*h/2; c (double)w*h/2 (double)w*h (double)w h 2 int fuku = 0; fuku 0 if(w==2*x && h == 2*y) fuku = 1; w==2*x && h == 2*y w==2*x w 2*x 2 x h == 2*y h 2*y 2 y fuku = 1 fuku 1 System.out.println(String.format("%.6f %d", c, fuku)) System.out.println System.out System System.out String.format("%.6f %d", c, fuku) String.format String "%.6f %d" c fuku String[] args args public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();
//		double a = Math.min(x*h, (w-x)*h);
//		double b = Math.min(w*y, w*(h-y));
//		double c = Math.max(a, b);
		double c = (double)w*h/2;
		int fuku = 0;
		if(w==2*x && h == 2*y) fuku = 1;
		System.out.println(String.format("%.6f %d", c, fuku));
	}
} public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();
//		double a = Math.min(x*h, (w-x)*h);
//		double b = Math.min(w*y, w*(h-y));
//		double c = Math.max(a, b);
		double c = (double)w*h/2;
		int fuku = 0;
		if(w==2*x && h == 2*y) fuku = 1;
		System.out.println(String.format("%.6f %d", c, fuku));
	}
} Main
import java.util.*;

public class Main {
	public static void main(String[] args) {
		int i,j;
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();
//		double a = Math.min(x*h, (w-x)*h);
//		double b = Math.min(w*y, w*(h-y));
//		double c = Math.max(a, b);
		double c = (double)w*h/2;
		int fuku = 0;
		if(w==2*x && h == 2*y) fuku = 1;
		System.out.println(String.format("%.6f %d", c, fuku));
	}
}
