import java.util.*;

public class Main{
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

    int W = s.nextInt();
    int H = s.nextInt();
    int x = s.nextInt();
    int y = s.nextInt();
    int ans = 0;

    System.out.printf("%.6f ",(double)W*H/2);
    if((double)x == (double)W / 2 && (double)y == (double)H / 2)
      System.out.println(1);
    else
      System.out.println(0);
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

    int W = s.nextInt();
    int H = s.nextInt();
    int x = s.nextInt();
    int y = s.nextInt();
    int ans = 0;

    System.out.printf("%.6f ",(double)W*H/2);
    if((double)x == (double)W / 2 && (double)y == (double)H / 2)
      System.out.println(1);
    else
      System.out.println(0);
  }
} Main public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

    int W = s.nextInt();
    int H = s.nextInt();
    int x = s.nextInt();
    int y = s.nextInt();
    int ans = 0;

    System.out.printf("%.6f ",(double)W*H/2);
    if((double)x == (double)W / 2 && (double)y == (double)H / 2)
      System.out.println(1);
    else
      System.out.println(0);
  } main {
    Scanner s = new Scanner(System.in);

    int W = s.nextInt();
    int H = s.nextInt();
    int x = s.nextInt();
    int y = s.nextInt();
    int ans = 0;

    System.out.printf("%.6f ",(double)W*H/2);
    if((double)x == (double)W / 2 && (double)y == (double)H / 2)
      System.out.println(1);
    else
      System.out.println(0);
  } Scanner s = new Scanner(System.in); s new Scanner(System.in) int W = s.nextInt(); W s.nextInt() s.nextInt s int H = s.nextInt(); H s.nextInt() s.nextInt s int x = s.nextInt(); x s.nextInt() s.nextInt s int y = s.nextInt(); y s.nextInt() s.nextInt s int ans = 0; ans 0 System.out.printf("%.6f ",(double)W*H/2) System.out.printf System.out System System.out "%.6f " (double)W*H/2 (double)W*H (double)W H 2 if((double)x == (double)W / 2 && (double)y == (double)H / 2)
      System.out.println(1);
    else
      System.out.println(0); (double)x == (double)W / 2 && (double)y == (double)H / 2 (double)x == (double)W / 2 (double)x (double)W / 2 (double)W 2 (double)y == (double)H / 2 (double)y (double)H / 2 (double)H 2 System.out.println(1) System.out.println System.out System System.out 1 System.out.println(0) System.out.println System.out System System.out 0 String[] args args public class Main{
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

    int W = s.nextInt();
    int H = s.nextInt();
    int x = s.nextInt();
    int y = s.nextInt();
    int ans = 0;

    System.out.printf("%.6f ",(double)W*H/2);
    if((double)x == (double)W / 2 && (double)y == (double)H / 2)
      System.out.println(1);
    else
      System.out.println(0);
  }
} public class Main{
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

    int W = s.nextInt();
    int H = s.nextInt();
    int x = s.nextInt();
    int y = s.nextInt();
    int ans = 0;

    System.out.printf("%.6f ",(double)W*H/2);
    if((double)x == (double)W / 2 && (double)y == (double)H / 2)
      System.out.println(1);
    else
      System.out.println(0);
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);

    int W = s.nextInt();
    int H = s.nextInt();
    int x = s.nextInt();
    int y = s.nextInt();
    int ans = 0;

    System.out.printf("%.6f ",(double)W*H/2);
    if((double)x == (double)W / 2 && (double)y == (double)H / 2)
      System.out.println(1);
    else
      System.out.println(0);
  }
}
