import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double w = sc.nextDouble();
    double h = sc.nextDouble();
    double x = sc.nextDouble();
    double y = sc.nextDouble();
    double max = w * h / 2;
    System.out.println(max);
    int ch = 0;
    if(w/2==x&&h/2==y)ch++;
    System.out.println(ch);

  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double w = sc.nextDouble();
    double h = sc.nextDouble();
    double x = sc.nextDouble();
    double y = sc.nextDouble();
    double max = w * h / 2;
    System.out.println(max);
    int ch = 0;
    if(w/2==x&&h/2==y)ch++;
    System.out.println(ch);

  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double w = sc.nextDouble();
    double h = sc.nextDouble();
    double x = sc.nextDouble();
    double y = sc.nextDouble();
    double max = w * h / 2;
    System.out.println(max);
    int ch = 0;
    if(w/2==x&&h/2==y)ch++;
    System.out.println(ch);

  } main {
    Scanner sc = new Scanner(System.in);
    double w = sc.nextDouble();
    double h = sc.nextDouble();
    double x = sc.nextDouble();
    double y = sc.nextDouble();
    double max = w * h / 2;
    System.out.println(max);
    int ch = 0;
    if(w/2==x&&h/2==y)ch++;
    System.out.println(ch);

  } 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 double x = sc.nextDouble(); x sc.nextDouble() sc.nextDouble sc double y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc double max = w * h / 2; max w * h / 2 w * h w h 2 System.out.println(max) System.out.println System.out System System.out max int ch = 0; ch 0 if(w/2==x&&h/2==y)ch++; w/2==x&&h/2==y w/2==x w/2 w 2 x h/2==y h/2 h 2 y ch++ ch System.out.println(ch) System.out.println System.out System System.out ch String[] args args public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double w = sc.nextDouble();
    double h = sc.nextDouble();
    double x = sc.nextDouble();
    double y = sc.nextDouble();
    double max = w * h / 2;
    System.out.println(max);
    int ch = 0;
    if(w/2==x&&h/2==y)ch++;
    System.out.println(ch);

  }
} public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double w = sc.nextDouble();
    double h = sc.nextDouble();
    double x = sc.nextDouble();
    double y = sc.nextDouble();
    double max = w * h / 2;
    System.out.println(max);
    int ch = 0;
    if(w/2==x&&h/2==y)ch++;
    System.out.println(ch);

  }
} Main
import java.util.*;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    double w = sc.nextDouble();
    double h = sc.nextDouble();
    double x = sc.nextDouble();
    double y = sc.nextDouble();
    double max = w * h / 2;
    System.out.println(max);
    int ch = 0;
    if(w/2==x&&h/2==y)ch++;
    System.out.println(ch);

  }
}
