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

    double rectangle = W*H/2.0;
    System.out.printf("%f ", rectangle);
    if(W/2.0 == x && H/2.0 == y)
      System.out.println("1");
    else
      System.out.println("0");
	}
} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		double W = sc.nextInt(); //X
		double H = sc.nextInt(); //Y
    double x = sc.nextInt();
    double y = sc.nextInt();

    double rectangle = W*H/2.0;
    System.out.printf("%f ", rectangle);
    if(W/2.0 == x && H/2.0 == y)
      System.out.println("1");
    else
      System.out.println("0");
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		double W = sc.nextInt(); //X
		double H = sc.nextInt(); //Y
    double x = sc.nextInt();
    double y = sc.nextInt();

    double rectangle = W*H/2.0;
    System.out.printf("%f ", rectangle);
    if(W/2.0 == x && H/2.0 == y)
      System.out.println("1");
    else
      System.out.println("0");
	} main {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		double W = sc.nextInt(); //X
		double H = sc.nextInt(); //Y
    double x = sc.nextInt();
    double y = sc.nextInt();

    double rectangle = W*H/2.0;
    System.out.printf("%f ", rectangle);
    if(W/2.0 == x && H/2.0 == y)
      System.out.println("1");
    else
      System.out.println("0");
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double W = sc.nextInt(); W sc.nextInt() sc.nextInt sc double H = sc.nextInt(); H sc.nextInt() sc.nextInt sc double x = sc.nextInt(); x sc.nextInt() sc.nextInt sc double y = sc.nextInt(); y sc.nextInt() sc.nextInt sc double rectangle = W*H/2.0; rectangle W*H/2.0 W*H W H 2.0 System.out.printf("%f ", rectangle) System.out.printf System.out System System.out "%f " rectangle if(W/2.0 == x && H/2.0 == y)
      System.out.println("1");
    else
      System.out.println("0"); W/2.0 == x && H/2.0 == y W/2.0 == x W/2.0 W 2.0 x H/2.0 == y H/2.0 H 2.0 y System.out.println("1") System.out.println System.out System System.out "1" System.out.println("0") System.out.println System.out System System.out "0" String[] args args public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		double W = sc.nextInt(); //X
		double H = sc.nextInt(); //Y
    double x = sc.nextInt();
    double y = sc.nextInt();

    double rectangle = W*H/2.0;
    System.out.printf("%f ", rectangle);
    if(W/2.0 == x && H/2.0 == y)
      System.out.println("1");
    else
      System.out.println("0");
	}
} public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		double W = sc.nextInt(); //X
		double H = sc.nextInt(); //Y
    double x = sc.nextInt();
    double y = sc.nextInt();

    double rectangle = W*H/2.0;
    System.out.printf("%f ", rectangle);
    if(W/2.0 == x && H/2.0 == y)
      System.out.println("1");
    else
      System.out.println("0");
	}
} Main
import java.util.*;
public class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		double W = sc.nextInt(); //X
		double H = sc.nextInt(); //Y
    double x = sc.nextInt();
    double y = sc.nextInt();

    double rectangle = W*H/2.0;
    System.out.printf("%f ", rectangle);
    if(W/2.0 == x && H/2.0 == y)
      System.out.println("1");
    else
      System.out.println("0");
	}
}