import java.util.*;
 
public class Main{
  public static void main(String[]args){
    Scanner sc =  new Scanner(System.in);
    int W = Integer.parseInt(sc.next());
    int H = Integer.parseInt(sc.next());
    int x = Integer.parseInt(sc.next());
    int y = Integer.parseInt(sc.next());
    
    double s = (double)W * (double)H / 2;
    int a = (W == x*2 && H == y*2) ? 1 : 0;
    System.out.println(s+" "+a);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[]args){
    Scanner sc =  new Scanner(System.in);
    int W = Integer.parseInt(sc.next());
    int H = Integer.parseInt(sc.next());
    int x = Integer.parseInt(sc.next());
    int y = Integer.parseInt(sc.next());
    
    double s = (double)W * (double)H / 2;
    int a = (W == x*2 && H == y*2) ? 1 : 0;
    System.out.println(s+" "+a);
  }
} Main public static void main(String[]args){
    Scanner sc =  new Scanner(System.in);
    int W = Integer.parseInt(sc.next());
    int H = Integer.parseInt(sc.next());
    int x = Integer.parseInt(sc.next());
    int y = Integer.parseInt(sc.next());
    
    double s = (double)W * (double)H / 2;
    int a = (W == x*2 && H == y*2) ? 1 : 0;
    System.out.println(s+" "+a);
  } main {
    Scanner sc =  new Scanner(System.in);
    int W = Integer.parseInt(sc.next());
    int H = Integer.parseInt(sc.next());
    int x = Integer.parseInt(sc.next());
    int y = Integer.parseInt(sc.next());
    
    double s = (double)W * (double)H / 2;
    int a = (W == x*2 && H == y*2) ? 1 : 0;
    System.out.println(s+" "+a);
  } Scanner sc =  new Scanner(System.in); sc new Scanner(System.in) int W = Integer.parseInt(sc.next()); W Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int H = Integer.parseInt(sc.next()); H Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double s = (double)W * (double)H / 2; s (double)W * (double)H / 2 (double)W * (double)H (double)W (double)H 2 int a = (W == x*2 && H == y*2) ? 1 : 0; a (W == x*2 && H == y*2) ? 1 : 0 (W == x*2 && H == y*2) W == x*2 W x*2 x 2 H == y*2 H y*2 y 2 1 0 System.out.println(s+" "+a) System.out.println System.out System System.out s+" "+a s+" "+a s " " a String[]args args public class Main{
  public static void main(String[]args){
    Scanner sc =  new Scanner(System.in);
    int W = Integer.parseInt(sc.next());
    int H = Integer.parseInt(sc.next());
    int x = Integer.parseInt(sc.next());
    int y = Integer.parseInt(sc.next());
    
    double s = (double)W * (double)H / 2;
    int a = (W == x*2 && H == y*2) ? 1 : 0;
    System.out.println(s+" "+a);
  }
} public class Main{
  public static void main(String[]args){
    Scanner sc =  new Scanner(System.in);
    int W = Integer.parseInt(sc.next());
    int H = Integer.parseInt(sc.next());
    int x = Integer.parseInt(sc.next());
    int y = Integer.parseInt(sc.next());
    
    double s = (double)W * (double)H / 2;
    int a = (W == x*2 && H == y*2) ? 1 : 0;
    System.out.println(s+" "+a);
  }
} Main
import java.util.*;
 
public class Main{
  public static void main(String[]args){
    Scanner sc =  new Scanner(System.in);
    int W = Integer.parseInt(sc.next());
    int H = Integer.parseInt(sc.next());
    int x = Integer.parseInt(sc.next());
    int y = Integer.parseInt(sc.next());
    
    double s = (double)W * (double)H / 2;
    int a = (W == x*2 && H == y*2) ? 1 : 0;
    System.out.println(s+" "+a);
  }
}