import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//String tmp = sc.next();
		//int tmp = sc.nextInt();
		double W = sc.nextDouble();
      double H = sc.nextDouble();
      int x = sc.nextInt();
      int y = sc.nextInt();
      String isCenter = "0";
      if(x == W / 2 && y == H / 2){
        isCenter = "1";
      }
      System.out.println((W * H / 2) + " " + isCenter);
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//String tmp = sc.next();
		//int tmp = sc.nextInt();
		double W = sc.nextDouble();
      double H = sc.nextDouble();
      int x = sc.nextInt();
      int y = sc.nextInt();
      String isCenter = "0";
      if(x == W / 2 && y == H / 2){
        isCenter = "1";
      }
      System.out.println((W * H / 2) + " " + isCenter);
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//String tmp = sc.next();
		//int tmp = sc.nextInt();
		double W = sc.nextDouble();
      double H = sc.nextDouble();
      int x = sc.nextInt();
      int y = sc.nextInt();
      String isCenter = "0";
      if(x == W / 2 && y == H / 2){
        isCenter = "1";
      }
      System.out.println((W * H / 2) + " " + isCenter);
	} main {
		Scanner sc = new Scanner(System.in);
		//String tmp = sc.next();
		//int tmp = sc.nextInt();
		double W = sc.nextDouble();
      double H = sc.nextDouble();
      int x = sc.nextInt();
      int y = sc.nextInt();
      String isCenter = "0";
      if(x == W / 2 && y == H / 2){
        isCenter = "1";
      }
      System.out.println((W * H / 2) + " " + isCenter);
	} 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 int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc String isCenter = "0"; isCenter "0" if(x == W / 2 && y == H / 2){
        isCenter = "1";
      } x == W / 2 && y == H / 2 x == W / 2 x W / 2 W 2 y == H / 2 y H / 2 H 2 {
        isCenter = "1";
      } isCenter = "1" isCenter "1" System.out.println((W * H / 2) + " " + isCenter) System.out.println System.out System System.out (W * H / 2) + " " + isCenter (W * H / 2) + " " + isCenter (W * H / 2) W * H W H 2 " " isCenter String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//String tmp = sc.next();
		//int tmp = sc.nextInt();
		double W = sc.nextDouble();
      double H = sc.nextDouble();
      int x = sc.nextInt();
      int y = sc.nextInt();
      String isCenter = "0";
      if(x == W / 2 && y == H / 2){
        isCenter = "1";
      }
      System.out.println((W * H / 2) + " " + isCenter);
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//String tmp = sc.next();
		//int tmp = sc.nextInt();
		double W = sc.nextDouble();
      double H = sc.nextDouble();
      int x = sc.nextInt();
      int y = sc.nextInt();
      String isCenter = "0";
      if(x == W / 2 && y == H / 2){
        isCenter = "1";
      }
      System.out.println((W * H / 2) + " " + isCenter);
	}
} Main
import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		//String tmp = sc.next();
		//int tmp = sc.nextInt();
		double W = sc.nextDouble();
      double H = sc.nextDouble();
      int x = sc.nextInt();
      int y = sc.nextInt();
      String isCenter = "0";
      if(x == W / 2 && y == H / 2){
        isCenter = "1";
      }
      System.out.println((W * H / 2) + " " + isCenter);
	}
}
