import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int w = sc.nextInt();
    int h = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    System.out.print((double) w * h / 2);
    System.out.print(" ");
    int multipleWays = (x == (double) w / 2 && y == (double) h / 2) ? 1 : 0;
    System.out.println(multipleWays);
  }
} import java.util.Scanner; Scanner java.util public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int w = sc.nextInt();
    int h = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    System.out.print((double) w * h / 2);
    System.out.print(" ");
    int multipleWays = (x == (double) w / 2 && y == (double) h / 2) ? 1 : 0;
    System.out.println(multipleWays);
  }
} Main public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int w = sc.nextInt();
    int h = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    System.out.print((double) w * h / 2);
    System.out.print(" ");
    int multipleWays = (x == (double) w / 2 && y == (double) h / 2) ? 1 : 0;
    System.out.println(multipleWays);
  } main {
    Scanner sc = new Scanner(System.in);
    int w = sc.nextInt();
    int h = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    System.out.print((double) w * h / 2);
    System.out.print(" ");
    int multipleWays = (x == (double) w / 2 && y == (double) h / 2) ? 1 : 0;
    System.out.println(multipleWays);
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int w = sc.nextInt(); w sc.nextInt() sc.nextInt sc int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc System.out.print((double) w * h / 2) System.out.print System.out System System.out (double) w * h / 2 (double) w * h (double) w h 2 System.out.print(" ") System.out.print System.out System System.out " " int multipleWays = (x == (double) w / 2 && y == (double) h / 2) ? 1 : 0; multipleWays (x == (double) w / 2 && y == (double) h / 2) ? 1 : 0 (x == (double) w / 2 && y == (double) h / 2) x == (double) w / 2 x (double) w / 2 (double) w 2 y == (double) h / 2 y (double) h / 2 (double) h 2 1 0 System.out.println(multipleWays) System.out.println System.out System System.out multipleWays String[] args args public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int w = sc.nextInt();
    int h = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    System.out.print((double) w * h / 2);
    System.out.print(" ");
    int multipleWays = (x == (double) w / 2 && y == (double) h / 2) ? 1 : 0;
    System.out.println(multipleWays);
  }
} public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int w = sc.nextInt();
    int h = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    System.out.print((double) w * h / 2);
    System.out.print(" ");
    int multipleWays = (x == (double) w / 2 && y == (double) h / 2) ? 1 : 0;
    System.out.println(multipleWays);
  }
} Main
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int w = sc.nextInt();
    int h = sc.nextInt();
    int x = sc.nextInt();
    int y = sc.nextInt();

    System.out.print((double) w * h / 2);
    System.out.print(" ");
    int multipleWays = (x == (double) w / 2 && y == (double) h / 2) ? 1 : 0;
    System.out.println(multipleWays);
  }
}