import java.io.*;
import java.util.*;

public class Main {
    PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] args) throws Exception {
        Main main = new Main();
//        main.solve();
        System.out.println(main.solve());
    }
    // greed. No need for advanced structure. A simply deque would work.
    long solve(){
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong(), H = sc.nextLong(), x = sc.nextLong(), y = sc.nextLong();
        double w = (double) W, h = (double) H;
        System.out.print(String.format("%f ",w*h/2.0));
        boolean ans = W==x*2 && H == y*2;
        int res = ans?1:0;
        System.out.println(res);
        System.exit(0);
        return 0;
    }
}


/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