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();
    double ans = (W*H)/2.0;
    int can = 0;
    if(x*2 == W && y*2==H){
      can = 1;
    }
    
    System.out.println(ans + " " + can);
    
  }
} 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();
    double ans = (W*H)/2.0;
    int can = 0;
    if(x*2 == W && y*2==H){
      can = 1;
    }
    
    System.out.println(ans + " " + can);
    
  }
} 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();
    double ans = (W*H)/2.0;
    int can = 0;
    if(x*2 == W && y*2==H){
      can = 1;
    }
    
    System.out.println(ans + " " + can);
    
  } main {
    Scanner sc = new Scanner(System.in);
    long W = sc.nextLong();
    long H = sc.nextLong();
    long x = sc.nextLong();
    long y = sc.nextLong();
    double ans = (W*H)/2.0;
    int can = 0;
    if(x*2 == W && y*2==H){
      can = 1;
    }
    
    System.out.println(ans + " " + can);
    
  } 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 double ans = (W*H)/2.0; ans (W*H)/2.0 (W*H) W H 2.0 int can = 0; can 0 if(x*2 == W && y*2==H){
      can = 1;
    } x*2 == W && y*2==H x*2 == W x*2 x 2 W y*2==H y*2 y 2 H {
      can = 1;
    } can = 1 can 1 System.out.println(ans + " " + can) System.out.println System.out System System.out ans + " " + can ans + " " + can ans " " can 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();
    double ans = (W*H)/2.0;
    int can = 0;
    if(x*2 == W && y*2==H){
      can = 1;
    }
    
    System.out.println(ans + " " + can);
    
  }
} 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();
    double ans = (W*H)/2.0;
    int can = 0;
    if(x*2 == W && y*2==H){
      can = 1;
    }
    
    System.out.println(ans + " " + can);
    
  }
} 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();
    double ans = (W*H)/2.0;
    int can = 0;
    if(x*2 == W && y*2==H){
      can = 1;
    }
    
    System.out.println(ans + " " + can);
    
  }
}