import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    Long W = sc.nextLong(); 
    Long H = sc.nextLong(); 
    Long x = sc.nextLong(); 
    Long y = sc.nextLong(); 
    int b = 0;
    if((double)W/2.0==(double)x && (double)H/2.0==(double)y){
      b = 1;
    }
    double ans = (double)(W*H)/2.0;

    System.out.println(ans+" "+b);    
  
  }
}

 import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    Long W = sc.nextLong(); 
    Long H = sc.nextLong(); 
    Long x = sc.nextLong(); 
    Long y = sc.nextLong(); 
    int b = 0;
    if((double)W/2.0==(double)x && (double)H/2.0==(double)y){
      b = 1;
    }
    double ans = (double)(W*H)/2.0;

    System.out.println(ans+" "+b);    
  
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    Long W = sc.nextLong(); 
    Long H = sc.nextLong(); 
    Long x = sc.nextLong(); 
    Long y = sc.nextLong(); 
    int b = 0;
    if((double)W/2.0==(double)x && (double)H/2.0==(double)y){
      b = 1;
    }
    double ans = (double)(W*H)/2.0;

    System.out.println(ans+" "+b);    
  
  } main {
    Scanner sc = new Scanner(System.in);
    Long W = sc.nextLong(); 
    Long H = sc.nextLong(); 
    Long x = sc.nextLong(); 
    Long y = sc.nextLong(); 
    int b = 0;
    if((double)W/2.0==(double)x && (double)H/2.0==(double)y){
      b = 1;
    }
    double ans = (double)(W*H)/2.0;

    System.out.println(ans+" "+b);    
  
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) Long W = sc.nextLong(); W sc.nextLong() sc.nextLong sc Long H = sc.nextLong(); H sc.nextLong() sc.nextLong sc Long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc Long y = sc.nextLong(); y sc.nextLong() sc.nextLong sc int b = 0; b 0 if((double)W/2.0==(double)x && (double)H/2.0==(double)y){
      b = 1;
    } (double)W/2.0==(double)x && (double)H/2.0==(double)y (double)W/2.0==(double)x (double)W/2.0 (double)W 2.0 (double)x (double)H/2.0==(double)y (double)H/2.0 (double)H 2.0 (double)y {
      b = 1;
    } b = 1 b 1 double ans = (double)(W*H)/2.0; ans (double)(W*H)/2.0 (double)(W*H) W H 2.0 System.out.println(ans+" "+b) System.out.println System.out System System.out ans+" "+b ans+" "+b ans " " b String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    Long W = sc.nextLong(); 
    Long H = sc.nextLong(); 
    Long x = sc.nextLong(); 
    Long y = sc.nextLong(); 
    int b = 0;
    if((double)W/2.0==(double)x && (double)H/2.0==(double)y){
      b = 1;
    }
    double ans = (double)(W*H)/2.0;

    System.out.println(ans+" "+b);    
  
  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    Long W = sc.nextLong(); 
    Long H = sc.nextLong(); 
    Long x = sc.nextLong(); 
    Long y = sc.nextLong(); 
    int b = 0;
    if((double)W/2.0==(double)x && (double)H/2.0==(double)y){
      b = 1;
    }
    double ans = (double)(W*H)/2.0;

    System.out.println(ans+" "+b);    
  
  }
} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    Long W = sc.nextLong(); 
    Long H = sc.nextLong(); 
    Long x = sc.nextLong(); 
    Long y = sc.nextLong(); 
    int b = 0;
    if((double)W/2.0==(double)x && (double)H/2.0==(double)y){
      b = 1;
    }
    double ans = (double)(W*H)/2.0;

    System.out.println(ans+" "+b);    
  
  }
}


