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();

		String s = ((double)x == (double)W/(double)2 &&
					(double)y == (double)H/(double)2) ? "1" : "0";
		double area = (double)W*(double)H/2;
		String a = String.format("%.6f", area);
		System.out.println(a+" "+s);
	}
} 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();

		String s = ((double)x == (double)W/(double)2 &&
					(double)y == (double)H/(double)2) ? "1" : "0";
		double area = (double)W*(double)H/2;
		String a = String.format("%.6f", area);
		System.out.println(a+" "+s);
	}
} 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();

		String s = ((double)x == (double)W/(double)2 &&
					(double)y == (double)H/(double)2) ? "1" : "0";
		double area = (double)W*(double)H/2;
		String a = String.format("%.6f", area);
		System.out.println(a+" "+s);
	} main {

		Scanner sc = new Scanner(System.in);
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		String s = ((double)x == (double)W/(double)2 &&
					(double)y == (double)H/(double)2) ? "1" : "0";
		double area = (double)W*(double)H/2;
		String a = String.format("%.6f", area);
		System.out.println(a+" "+s);
	} 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 String s = ((double)x == (double)W/(double)2 &&
					(double)y == (double)H/(double)2) ? "1" : "0"; s ((double)x == (double)W/(double)2 &&
					(double)y == (double)H/(double)2) ? "1" : "0" ((double)x == (double)W/(double)2 &&
					(double)y == (double)H/(double)2) (double)x == (double)W/(double)2 (double)x (double)W/(double)2 (double)W (double)2 (double)y == (double)H/(double)2 (double)y (double)H/(double)2 (double)H (double)2 "1" "0" double area = (double)W*(double)H/2; area (double)W*(double)H/2 (double)W*(double)H (double)W (double)H 2 String a = String.format("%.6f", area); a String.format("%.6f", area) String.format String "%.6f" area System.out.println(a+" "+s) System.out.println System.out System System.out a+" "+s a+" "+s a " " s 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();

		String s = ((double)x == (double)W/(double)2 &&
					(double)y == (double)H/(double)2) ? "1" : "0";
		double area = (double)W*(double)H/2;
		String a = String.format("%.6f", area);
		System.out.println(a+" "+s);
	}
} 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();

		String s = ((double)x == (double)W/(double)2 &&
					(double)y == (double)H/(double)2) ? "1" : "0";
		double area = (double)W*(double)H/2;
		String a = String.format("%.6f", area);
		System.out.println(a+" "+s);
	}
} 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();

		String s = ((double)x == (double)W/(double)2 &&
					(double)y == (double)H/(double)2) ? "1" : "0";
		double area = (double)W*(double)H/2;
		String a = String.format("%.6f", area);
		System.out.println(a+" "+s);
	}
}
