import java.util.*;

public class Main {
  public static void main(String[] args) {
    int  check = 0;
    double rectangle, width, height, point_x, point_y, max_area = 0.0;
    Scanner sc = new Scanner(System.in);
    width = Double.parseDouble(sc.next());
    height = Double.parseDouble(sc.next());
    point_x = Double.parseDouble(sc.next());
    point_y = Double.parseDouble(sc.next());
    rectangle = height * width;
    max_area = rectangle / 2.0;
    if(point_x == width / 2.0 && point_y == height / 2.0) check = 1;
    System.out.println(max_area + " " + check);
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args) {
    int  check = 0;
    double rectangle, width, height, point_x, point_y, max_area = 0.0;
    Scanner sc = new Scanner(System.in);
    width = Double.parseDouble(sc.next());
    height = Double.parseDouble(sc.next());
    point_x = Double.parseDouble(sc.next());
    point_y = Double.parseDouble(sc.next());
    rectangle = height * width;
    max_area = rectangle / 2.0;
    if(point_x == width / 2.0 && point_y == height / 2.0) check = 1;
    System.out.println(max_area + " " + check);
  }
} Main public static void main(String[] args) {
    int  check = 0;
    double rectangle, width, height, point_x, point_y, max_area = 0.0;
    Scanner sc = new Scanner(System.in);
    width = Double.parseDouble(sc.next());
    height = Double.parseDouble(sc.next());
    point_x = Double.parseDouble(sc.next());
    point_y = Double.parseDouble(sc.next());
    rectangle = height * width;
    max_area = rectangle / 2.0;
    if(point_x == width / 2.0 && point_y == height / 2.0) check = 1;
    System.out.println(max_area + " " + check);
  } main {
    int  check = 0;
    double rectangle, width, height, point_x, point_y, max_area = 0.0;
    Scanner sc = new Scanner(System.in);
    width = Double.parseDouble(sc.next());
    height = Double.parseDouble(sc.next());
    point_x = Double.parseDouble(sc.next());
    point_y = Double.parseDouble(sc.next());
    rectangle = height * width;
    max_area = rectangle / 2.0;
    if(point_x == width / 2.0 && point_y == height / 2.0) check = 1;
    System.out.println(max_area + " " + check);
  } int  check = 0; check 0 double rectangle rectangle width width height height point_x point_x point_y point_y max_area = 0.0; max_area 0.0 Scanner sc = new Scanner(System.in); sc new Scanner(System.in) width = Double.parseDouble(sc.next()) width Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc height = Double.parseDouble(sc.next()) height Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc point_x = Double.parseDouble(sc.next()) point_x Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc point_y = Double.parseDouble(sc.next()) point_y Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc rectangle = height * width rectangle height * width height width max_area = rectangle / 2.0 max_area rectangle / 2.0 rectangle 2.0 if(point_x == width / 2.0 && point_y == height / 2.0) check = 1; point_x == width / 2.0 && point_y == height / 2.0 point_x == width / 2.0 point_x width / 2.0 width 2.0 point_y == height / 2.0 point_y height / 2.0 height 2.0 check = 1 check 1 System.out.println(max_area + " " + check) System.out.println System.out System System.out max_area + " " + check max_area + " " + check max_area " " check String[] args args public class Main {
  public static void main(String[] args) {
    int  check = 0;
    double rectangle, width, height, point_x, point_y, max_area = 0.0;
    Scanner sc = new Scanner(System.in);
    width = Double.parseDouble(sc.next());
    height = Double.parseDouble(sc.next());
    point_x = Double.parseDouble(sc.next());
    point_y = Double.parseDouble(sc.next());
    rectangle = height * width;
    max_area = rectangle / 2.0;
    if(point_x == width / 2.0 && point_y == height / 2.0) check = 1;
    System.out.println(max_area + " " + check);
  }
} public class Main {
  public static void main(String[] args) {
    int  check = 0;
    double rectangle, width, height, point_x, point_y, max_area = 0.0;
    Scanner sc = new Scanner(System.in);
    width = Double.parseDouble(sc.next());
    height = Double.parseDouble(sc.next());
    point_x = Double.parseDouble(sc.next());
    point_y = Double.parseDouble(sc.next());
    rectangle = height * width;
    max_area = rectangle / 2.0;
    if(point_x == width / 2.0 && point_y == height / 2.0) check = 1;
    System.out.println(max_area + " " + check);
  }
} Main
import java.util.*;

public class Main {
  public static void main(String[] args) {
    int  check = 0;
    double rectangle, width, height, point_x, point_y, max_area = 0.0;
    Scanner sc = new Scanner(System.in);
    width = Double.parseDouble(sc.next());
    height = Double.parseDouble(sc.next());
    point_x = Double.parseDouble(sc.next());
    point_y = Double.parseDouble(sc.next());
    rectangle = height * width;
    max_area = rectangle / 2.0;
    if(point_x == width / 2.0 && point_y == height / 2.0) check = 1;
    System.out.println(max_area + " " + check);
  }
}
