import java.util.Scanner;

public class Main {
    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();

        if (x == w / 2.0 && y == h / 2.0) {
            System.out.println(w * h / 2.0 + " " + 1);
        } else if (x == w / 2.0) {
            System.out.println(w * h / 2.0 + " " + 0);
        } else if (y == h / 2.0) {
            System.out.println(w * h / 2.0 + " " + 0);
        } else if (x == w || y == h) {
            System.out.println(w * h / 2.0 + " " + 0);
        } else if (x == 0 || y == 0) {
            System.out.println(w * h / 2.0 + " " + 0);
        } else if (x/y == w/h || (w-x)/y == w/h) {
            System.out.println(w * h / 2.0 + " " + 0);
        } else {
            System.out.println(w * h / 2.0 + " " + 0);
//            double minx = 0;
//            double miny;
//            if (x < w - x) {
//                minx = x;
//            } else {
//                minx = w - x;
//            }
//            if (y < h - y) {
//                miny = y;
//            } else {
//                miny = h - y;
//            }
//
//            double q1 = minx * h;
//            double q2 = miny * w;
//
//            if (q1 < q2) System.out.println(q1 + " " + 0);
//            else if (q1 < q2) System.out.println(q2 + " " + 0);
//            else System.out.println(q1 + " " + 1);
        }
    }
}
/tmp/hf-datasets-cache/medium/datasets/42704881117311-config-parquet-and-info-qiankunmu-Project_CodeNet-896c9d36/hub/datasets--qiankunmu--Project_CodeNet_Python800_and_Java250/snapshots/c899fde44a77ba1cc14973ed3de064e4ff3aadc7/Project_CodeNet_Java250.tar.gz