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

      double a = (double)w*h;
      boolean flg = false;
      if((w == x*2) && (h == y * 2)) {
        flg = true;
      }
      if(flg) {
        System.out.println((a/ 2.0) + " 1");
      } else {
        System.out.println((a/ 2.0) + " 0");
      }      
    
    }
} import java.util.*; util.* java 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();

      double a = (double)w*h;
      boolean flg = false;
      if((w == x*2) && (h == y * 2)) {
        flg = true;
      }
      if(flg) {
        System.out.println((a/ 2.0) + " 1");
      } else {
        System.out.println((a/ 2.0) + " 0");
      }      
    
    }
} 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();

      double a = (double)w*h;
      boolean flg = false;
      if((w == x*2) && (h == y * 2)) {
        flg = true;
      }
      if(flg) {
        System.out.println((a/ 2.0) + " 1");
      } else {
        System.out.println((a/ 2.0) + " 0");
      }      
    
    } main {
	  Scanner sc = new Scanner(System.in);
	  int w = sc.nextInt();
	  int h = sc.nextInt();
      int x = sc.nextInt();
      int y = sc.nextInt();

      double a = (double)w*h;
      boolean flg = false;
      if((w == x*2) && (h == y * 2)) {
        flg = true;
      }
      if(flg) {
        System.out.println((a/ 2.0) + " 1");
      } else {
        System.out.println((a/ 2.0) + " 0");
      }      
    
    } 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 double a = (double)w*h; a (double)w*h (double)w h boolean flg = false; flg false if((w == x*2) && (h == y * 2)) {
        flg = true;
      } (w == x*2) && (h == y * 2) (w == x*2) w x*2 x 2 (h == y * 2) h y * 2 y 2 {
        flg = true;
      } flg = true flg true if(flg) {
        System.out.println((a/ 2.0) + " 1");
      } else {
        System.out.println((a/ 2.0) + " 0");
      } flg {
        System.out.println((a/ 2.0) + " 1");
      } System.out.println((a/ 2.0) + " 1") System.out.println System.out System System.out (a/ 2.0) + " 1" (a/ 2.0) a 2.0 " 1" {
        System.out.println((a/ 2.0) + " 0");
      } System.out.println((a/ 2.0) + " 0") System.out.println System.out System System.out (a/ 2.0) + " 0" (a/ 2.0) a 2.0 " 0" 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();

      double a = (double)w*h;
      boolean flg = false;
      if((w == x*2) && (h == y * 2)) {
        flg = true;
      }
      if(flg) {
        System.out.println((a/ 2.0) + " 1");
      } else {
        System.out.println((a/ 2.0) + " 0");
      }      
    
    }
} 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();

      double a = (double)w*h;
      boolean flg = false;
      if((w == x*2) && (h == y * 2)) {
        flg = true;
      }
      if(flg) {
        System.out.println((a/ 2.0) + " 1");
      } else {
        System.out.println((a/ 2.0) + " 0");
      }      
    
    }
} Main
import 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();

      double a = (double)w*h;
      boolean flg = false;
      if((w == x*2) && (h == y * 2)) {
        flg = true;
      }
      if(flg) {
        System.out.println((a/ 2.0) + " 1");
      } else {
        System.out.println((a/ 2.0) + " 0");
      }      
    
    }
}