import java.util.Scanner;

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

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

		double ans = (double)W*H/ 2;
		int num = (W == x * 2 && H == y * 2 ) ? 1 : 0;
        System.out.println(String.format("%.10f", ans) + " " + num);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int W, H, x, y;
		W = sc.nextInt();
		H = sc.nextInt();
		x = sc.nextInt();
		y = sc.nextInt();

		double ans = (double)W*H/ 2;
		int num = (W == x * 2 && H == y * 2 ) ? 1 : 0;
        System.out.println(String.format("%.10f", ans) + " " + num);
	} main {
		Scanner sc = new Scanner(System.in);
		int W, H, x, y;
		W = sc.nextInt();
		H = sc.nextInt();
		x = sc.nextInt();
		y = sc.nextInt();

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

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

		double ans = (double)W*H/ 2;
		int num = (W == x * 2 && H == y * 2 ) ? 1 : 0;
        System.out.println(String.format("%.10f", ans) + " " + num);
	}
} Main
import java.util.Scanner;

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

		double ans = (double)W*H/ 2;
		int num = (W == x * 2 && H == y * 2 ) ? 1 : 0;
        System.out.println(String.format("%.10f", ans) + " " + num);
	}
}