import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(System.out);
        String[] arr = br.readLine().split(" ");
        double W = Double.parseDouble(arr[0]);
        double H = Double.parseDouble(arr[1]);
        double x = Double.parseDouble(arr[2]);
        double y = Double.parseDouble(arr[3]);
        double ans = 0;
        double half = W * H / 2;
        int flg = 0;
        
        // // 対角線上か半分にする線上か
        // if (y / x == (H - y) / (W - x) 
        //     || (H - y) / x == y / (W - x)
        //     || x == W / 2 || y == H / 2) {
            ans = half;
            if (x == W / 2 && y == H / 2) {
                flg = 1;
            }
        // } else {
        //     double ans1 = W * Math.min(y, H - y);
        //     double ans2 = H * Math.min(x, W - x);
        //     ans = Math.max(ans1, ans2);
        //     if (ans1 == ans2) {
        //         flg = 1;
        //     } 
        // }

        out.println(ans + " " + flg);
        out.close();
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.io.PrintWriter; PrintWriter java.io public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(System.out);
        String[] arr = br.readLine().split(" ");
        double W = Double.parseDouble(arr[0]);
        double H = Double.parseDouble(arr[1]);
        double x = Double.parseDouble(arr[2]);
        double y = Double.parseDouble(arr[3]);
        double ans = 0;
        double half = W * H / 2;
        int flg = 0;
        
        // // 対角線上か半分にする線上か
        // if (y / x == (H - y) / (W - x) 
        //     || (H - y) / x == y / (W - x)
        //     || x == W / 2 || y == H / 2) {
            ans = half;
            if (x == W / 2 && y == H / 2) {
                flg = 1;
            }
        // } else {
        //     double ans1 = W * Math.min(y, H - y);
        //     double ans2 = H * Math.min(x, W - x);
        //     ans = Math.max(ans1, ans2);
        //     if (ans1 == ans2) {
        //         flg = 1;
        //     } 
        // }

        out.println(ans + " " + flg);
        out.close();
    }
} Main public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(System.out);
        String[] arr = br.readLine().split(" ");
        double W = Double.parseDouble(arr[0]);
        double H = Double.parseDouble(arr[1]);
        double x = Double.parseDouble(arr[2]);
        double y = Double.parseDouble(arr[3]);
        double ans = 0;
        double half = W * H / 2;
        int flg = 0;
        
        // // 対角線上か半分にする線上か
        // if (y / x == (H - y) / (W - x) 
        //     || (H - y) / x == y / (W - x)
        //     || x == W / 2 || y == H / 2) {
            ans = half;
            if (x == W / 2 && y == H / 2) {
                flg = 1;
            }
        // } else {
        //     double ans1 = W * Math.min(y, H - y);
        //     double ans2 = H * Math.min(x, W - x);
        //     ans = Math.max(ans1, ans2);
        //     if (ans1 == ans2) {
        //         flg = 1;
        //     } 
        // }

        out.println(ans + " " + flg);
        out.close();
    } main {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(System.out);
        String[] arr = br.readLine().split(" ");
        double W = Double.parseDouble(arr[0]);
        double H = Double.parseDouble(arr[1]);
        double x = Double.parseDouble(arr[2]);
        double y = Double.parseDouble(arr[3]);
        double ans = 0;
        double half = W * H / 2;
        int flg = 0;
        
        // // 対角線上か半分にする線上か
        // if (y / x == (H - y) / (W - x) 
        //     || (H - y) / x == y / (W - x)
        //     || x == W / 2 || y == H / 2) {
            ans = half;
            if (x == W / 2 && y == H / 2) {
                flg = 1;
            }
        // } else {
        //     double ans1 = W * Math.min(y, H - y);
        //     double ans2 = H * Math.min(x, W - x);
        //     ans = Math.max(ans1, ans2);
        //     if (ans1 == ans2) {
        //         flg = 1;
        //     } 
        // }

        out.println(ans + " " + flg);
        out.close();
    } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) String[] arr = br.readLine().split(" "); arr br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " double W = Double.parseDouble(arr[0]); W Double.parseDouble(arr[0]) Double.parseDouble Double arr[0] arr 0 double H = Double.parseDouble(arr[1]); H Double.parseDouble(arr[1]) Double.parseDouble Double arr[1] arr 1 double x = Double.parseDouble(arr[2]); x Double.parseDouble(arr[2]) Double.parseDouble Double arr[2] arr 2 double y = Double.parseDouble(arr[3]); y Double.parseDouble(arr[3]) Double.parseDouble Double arr[3] arr 3 double ans = 0; ans 0 double half = W * H / 2; half W * H / 2 W * H W H 2 int flg = 0; flg 0 ans = half ans half if (x == W / 2 && y == H / 2) {
                flg = 1;
            } x == W / 2 && y == H / 2 x == W / 2 x W / 2 W 2 y == H / 2 y H / 2 H 2 {
                flg = 1;
            } flg = 1 flg 1 out.println(ans + " " + flg) out.println out ans + " " + flg ans + " " + flg ans " " flg out.close() out.close out String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(System.out);
        String[] arr = br.readLine().split(" ");
        double W = Double.parseDouble(arr[0]);
        double H = Double.parseDouble(arr[1]);
        double x = Double.parseDouble(arr[2]);
        double y = Double.parseDouble(arr[3]);
        double ans = 0;
        double half = W * H / 2;
        int flg = 0;
        
        // // 対角線上か半分にする線上か
        // if (y / x == (H - y) / (W - x) 
        //     || (H - y) / x == y / (W - x)
        //     || x == W / 2 || y == H / 2) {
            ans = half;
            if (x == W / 2 && y == H / 2) {
                flg = 1;
            }
        // } else {
        //     double ans1 = W * Math.min(y, H - y);
        //     double ans2 = H * Math.min(x, W - x);
        //     ans = Math.max(ans1, ans2);
        //     if (ans1 == ans2) {
        //         flg = 1;
        //     } 
        // }

        out.println(ans + " " + flg);
        out.close();
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(System.out);
        String[] arr = br.readLine().split(" ");
        double W = Double.parseDouble(arr[0]);
        double H = Double.parseDouble(arr[1]);
        double x = Double.parseDouble(arr[2]);
        double y = Double.parseDouble(arr[3]);
        double ans = 0;
        double half = W * H / 2;
        int flg = 0;
        
        // // 対角線上か半分にする線上か
        // if (y / x == (H - y) / (W - x) 
        //     || (H - y) / x == y / (W - x)
        //     || x == W / 2 || y == H / 2) {
            ans = half;
            if (x == W / 2 && y == H / 2) {
                flg = 1;
            }
        // } else {
        //     double ans1 = W * Math.min(y, H - y);
        //     double ans2 = H * Math.min(x, W - x);
        //     ans = Math.max(ans1, ans2);
        //     if (ans1 == ans2) {
        //         flg = 1;
        //     } 
        // }

        out.println(ans + " " + flg);
        out.close();
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;

public class Main {
    public static void main(String[] args) throws Exception {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        PrintWriter out = new PrintWriter(System.out);
        String[] arr = br.readLine().split(" ");
        double W = Double.parseDouble(arr[0]);
        double H = Double.parseDouble(arr[1]);
        double x = Double.parseDouble(arr[2]);
        double y = Double.parseDouble(arr[3]);
        double ans = 0;
        double half = W * H / 2;
        int flg = 0;
        
        // // 対角線上か半分にする線上か
        // if (y / x == (H - y) / (W - x) 
        //     || (H - y) / x == y / (W - x)
        //     || x == W / 2 || y == H / 2) {
            ans = half;
            if (x == W / 2 && y == H / 2) {
                flg = 1;
            }
        // } else {
        //     double ans1 = W * Math.min(y, H - y);
        //     double ans2 = H * Math.min(x, W - x);
        //     ans = Math.max(ans1, ans2);
        //     if (ans1 == ans2) {
        //         flg = 1;
        //     } 
        // }

        out.println(ans + " " + flg);
        out.close();
    }
}
