import java.util.*;

public class Main {

    public static List<List<Integer>> switchList;

    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();
        sc.close();

        int judge = 0;
        double centerW = 0.000000;
        double centerH = 0.000000;
        if (W % 2 == 0) {
            centerW = W / 2;
        } else {
            centerW = W / 2 + 1;
        }

        if (H % 2 == 0) {
            centerH = H / 2;
        } else {
            centerH = H / 2 + 1;
        }

        if (centerH == y && centerW == x) {
            judge = 1;
        } else {
            judge = 0;
        }

        System.out.println(((double) W * (double) H) / 2 + " " + judge);
    }

} import java.util.*; util.* java public class Main {

    public static List<List<Integer>> switchList;

    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();
        sc.close();

        int judge = 0;
        double centerW = 0.000000;
        double centerH = 0.000000;
        if (W % 2 == 0) {
            centerW = W / 2;
        } else {
            centerW = W / 2 + 1;
        }

        if (H % 2 == 0) {
            centerH = H / 2;
        } else {
            centerH = H / 2 + 1;
        }

        if (centerH == y && centerW == x) {
            judge = 1;
        } else {
            judge = 0;
        }

        System.out.println(((double) W * (double) H) / 2 + " " + judge);
    }

} Main public static List<List<Integer>> switchList; switchList 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();
        sc.close();

        int judge = 0;
        double centerW = 0.000000;
        double centerH = 0.000000;
        if (W % 2 == 0) {
            centerW = W / 2;
        } else {
            centerW = W / 2 + 1;
        }

        if (H % 2 == 0) {
            centerH = H / 2;
        } else {
            centerH = H / 2 + 1;
        }

        if (centerH == y && centerW == x) {
            judge = 1;
        } else {
            judge = 0;
        }

        System.out.println(((double) W * (double) H) / 2 + " " + judge);
    } main {
        Scanner sc = new Scanner(System.in);
        double W = sc.nextDouble();
        double H = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        sc.close();

        int judge = 0;
        double centerW = 0.000000;
        double centerH = 0.000000;
        if (W % 2 == 0) {
            centerW = W / 2;
        } else {
            centerW = W / 2 + 1;
        }

        if (H % 2 == 0) {
            centerH = H / 2;
        } else {
            centerH = H / 2 + 1;
        }

        if (centerH == y && centerW == x) {
            judge = 1;
        } else {
            judge = 0;
        }

        System.out.println(((double) W * (double) H) / 2 + " " + judge);
    } 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 sc.close() sc.close sc int judge = 0; judge 0 double centerW = 0.000000; centerW 0.000000 double centerH = 0.000000; centerH 0.000000 if (W % 2 == 0) {
            centerW = W / 2;
        } else {
            centerW = W / 2 + 1;
        } W % 2 == 0 W % 2 W 2 0 {
            centerW = W / 2;
        } centerW = W / 2 centerW W / 2 W 2 {
            centerW = W / 2 + 1;
        } centerW = W / 2 + 1 centerW W / 2 + 1 W / 2 W 2 1 if (H % 2 == 0) {
            centerH = H / 2;
        } else {
            centerH = H / 2 + 1;
        } H % 2 == 0 H % 2 H 2 0 {
            centerH = H / 2;
        } centerH = H / 2 centerH H / 2 H 2 {
            centerH = H / 2 + 1;
        } centerH = H / 2 + 1 centerH H / 2 + 1 H / 2 H 2 1 if (centerH == y && centerW == x) {
            judge = 1;
        } else {
            judge = 0;
        } centerH == y && centerW == x centerH == y centerH y centerW == x centerW x {
            judge = 1;
        } judge = 1 judge 1 {
            judge = 0;
        } judge = 0 judge 0 System.out.println(((double) W * (double) H) / 2 + " " + judge) System.out.println System.out System System.out ((double) W * (double) H) / 2 + " " + judge ((double) W * (double) H) / 2 + " " + judge ((double) W * (double) H) / 2 ((double) W * (double) H) (double) W (double) H 2 " " judge String[] args args public class Main {

    public static List<List<Integer>> switchList;

    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();
        sc.close();

        int judge = 0;
        double centerW = 0.000000;
        double centerH = 0.000000;
        if (W % 2 == 0) {
            centerW = W / 2;
        } else {
            centerW = W / 2 + 1;
        }

        if (H % 2 == 0) {
            centerH = H / 2;
        } else {
            centerH = H / 2 + 1;
        }

        if (centerH == y && centerW == x) {
            judge = 1;
        } else {
            judge = 0;
        }

        System.out.println(((double) W * (double) H) / 2 + " " + judge);
    }

} public class Main {

    public static List<List<Integer>> switchList;

    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();
        sc.close();

        int judge = 0;
        double centerW = 0.000000;
        double centerH = 0.000000;
        if (W % 2 == 0) {
            centerW = W / 2;
        } else {
            centerW = W / 2 + 1;
        }

        if (H % 2 == 0) {
            centerH = H / 2;
        } else {
            centerH = H / 2 + 1;
        }

        if (centerH == y && centerW == x) {
            judge = 1;
        } else {
            judge = 0;
        }

        System.out.println(((double) W * (double) H) / 2 + " " + judge);
    }

} Main
import java.util.*;

public class Main {

    public static List<List<Integer>> switchList;

    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();
        sc.close();

        int judge = 0;
        double centerW = 0.000000;
        double centerH = 0.000000;
        if (W % 2 == 0) {
            centerW = W / 2;
        } else {
            centerW = W / 2 + 1;
        }

        if (H % 2 == 0) {
            centerH = H / 2;
        } else {
            centerH = H / 2 + 1;
        }

        if (centerH == y && centerW == x) {
            judge = 1;
        } else {
            judge = 0;
        }

        System.out.println(((double) W * (double) H) / 2 + " " + judge);
    }

}
