import java.util.*;

/**
 * Main
 */
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		Double W = sc.nextDouble();
		Double H = sc.nextDouble();
		Double x = sc.nextDouble();
		Double y = sc.nextDouble();

		System.out.println(W*H/2);

		if(Math.pow((2*x - W),2) < 0.001 && Math.pow((2*y - H),2)<0.001){
			System.out.println(1);
		}else{
			System.out.println(0);
		}

		sc.close();
	}
}; import java.util.*; util.* java public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		Double W = sc.nextDouble();
		Double H = sc.nextDouble();
		Double x = sc.nextDouble();
		Double y = sc.nextDouble();

		System.out.println(W*H/2);

		if(Math.pow((2*x - W),2) < 0.001 && Math.pow((2*y - H),2)<0.001){
			System.out.println(1);
		}else{
			System.out.println(0);
		}

		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		Double W = sc.nextDouble();
		Double H = sc.nextDouble();
		Double x = sc.nextDouble();
		Double y = sc.nextDouble();

		System.out.println(W*H/2);

		if(Math.pow((2*x - W),2) < 0.001 && Math.pow((2*y - H),2)<0.001){
			System.out.println(1);
		}else{
			System.out.println(0);
		}

		sc.close();
	} main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		Double W = sc.nextDouble();
		Double H = sc.nextDouble();
		Double x = sc.nextDouble();
		Double y = sc.nextDouble();

		System.out.println(W*H/2);

		if(Math.pow((2*x - W),2) < 0.001 && Math.pow((2*y - H),2)<0.001){
			System.out.println(1);
		}else{
			System.out.println(0);
		}

		sc.close();
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Double W = sc.nextDouble(); W sc.nextDouble() sc.nextDouble sc Double H = sc.nextDouble(); H sc.nextDouble() sc.nextDouble sc Double x = sc.nextDouble(); x sc.nextDouble() sc.nextDouble sc Double y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc System.out.println(W*H/2) System.out.println System.out System System.out W*H/2 W*H W H 2 if(Math.pow((2*x - W),2) < 0.001 && Math.pow((2*y - H),2)<0.001){
			System.out.println(1);
		}else{
			System.out.println(0);
		} Math.pow((2*x - W),2) < 0.001 && Math.pow((2*y - H),2)<0.001 Math.pow((2*x - W),2) < 0.001 Math.pow((2*x - W),2) Math.pow Math (2*x - W) 2*x 2 x W 2 0.001 Math.pow((2*y - H),2)<0.001 Math.pow((2*y - H),2) Math.pow Math (2*y - H) 2*y 2 y H 2 0.001 {
			System.out.println(1);
		} System.out.println(1) System.out.println System.out System System.out 1 {
			System.out.println(0);
		} System.out.println(0) System.out.println System.out System System.out 0 sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		Double W = sc.nextDouble();
		Double H = sc.nextDouble();
		Double x = sc.nextDouble();
		Double y = sc.nextDouble();

		System.out.println(W*H/2);

		if(Math.pow((2*x - W),2) < 0.001 && Math.pow((2*y - H),2)<0.001){
			System.out.println(1);
		}else{
			System.out.println(0);
		}

		sc.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		Double W = sc.nextDouble();
		Double H = sc.nextDouble();
		Double x = sc.nextDouble();
		Double y = sc.nextDouble();

		System.out.println(W*H/2);

		if(Math.pow((2*x - W),2) < 0.001 && Math.pow((2*y - H),2)<0.001){
			System.out.println(1);
		}else{
			System.out.println(0);
		}

		sc.close();
	}
} Main
import java.util.*;

/**
 * Main
 */
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		Double W = sc.nextDouble();
		Double H = sc.nextDouble();
		Double x = sc.nextDouble();
		Double y = sc.nextDouble();

		System.out.println(W*H/2);

		if(Math.pow((2*x - W),2) < 0.001 && Math.pow((2*y - H),2)<0.001){
			System.out.println(1);
		}else{
			System.out.println(0);
		}

		sc.close();
	}
};