import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    new Main().run();
  }

  private Scanner sc;

  private void run() {
    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 ans = (double) W * (double) H / 2;

    int num = 0;
    if (W == x * 2 && H == y * 2) {
      num = 1;
    }

    System.out.println(ans + " " + num);
  }
} import java.util.Scanner; Scanner java.util public class Main {

  public static void main(String[] args) {
    new Main().run();
  }

  private Scanner sc;

  private void run() {
    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 ans = (double) W * (double) H / 2;

    int num = 0;
    if (W == x * 2 && H == y * 2) {
      num = 1;
    }

    System.out.println(ans + " " + num);
  }
} Main private Scanner sc; sc public static void main(String[] args) {
    new Main().run();
  } main {
    new Main().run();
  } new Main().run() new Main().run new Main() String[] args args private void run() {
    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 ans = (double) W * (double) H / 2;

    int num = 0;
    if (W == x * 2 && H == y * 2) {
      num = 1;
    }

    System.out.println(ans + " " + num);
  } run {
    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 ans = (double) W * (double) H / 2;

    int num = 0;
    if (W == x * 2 && H == y * 2) {
      num = 1;
    }

    System.out.println(ans + " " + num);
  } 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 ans = (double) W * (double) H / 2; ans (double) W * (double) H / 2 (double) W * (double) H (double) W (double) H 2 int num = 0; num 0 if (W == x * 2 && H == y * 2) {
      num = 1;
    } W == x * 2 && H == y * 2 W == x * 2 W x * 2 x 2 H == y * 2 H y * 2 y 2 {
      num = 1;
    } num = 1 num 1 System.out.println(ans + " " + num) System.out.println System.out System System.out ans + " " + num ans + " " + num ans " " num public class Main {

  public static void main(String[] args) {
    new Main().run();
  }

  private Scanner sc;

  private void run() {
    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 ans = (double) W * (double) H / 2;

    int num = 0;
    if (W == x * 2 && H == y * 2) {
      num = 1;
    }

    System.out.println(ans + " " + num);
  }
} public class Main {

  public static void main(String[] args) {
    new Main().run();
  }

  private Scanner sc;

  private void run() {
    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 ans = (double) W * (double) H / 2;

    int num = 0;
    if (W == x * 2 && H == y * 2) {
      num = 1;
    }

    System.out.println(ans + " " + num);
  }
} Main
import java.util.Scanner;

public class Main {

  public static void main(String[] args) {
    new Main().run();
  }

  private Scanner sc;

  private void run() {
    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 ans = (double) W * (double) H / 2;

    int num = 0;
    if (W == x * 2 && H == y * 2) {
      num = 1;
    }

    System.out.println(ans + " " + num);
  }
}
