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);
        }
    }
} import java.util.Scanner; Scanner java.util 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);
        }
    }
} 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);
        }
    } main {
        // 入力
        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);
        }
    } 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 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);
        } x == w / 2.0 && y == h / 2.0 x == w / 2.0 x w / 2.0 w 2.0 y == h / 2.0 y h / 2.0 h 2.0 {
            System.out.println(w * h / 2.0 + " " + 1);
        } System.out.println(w * h / 2.0 + " " + 1) System.out.println System.out System System.out w * h / 2.0 + " " + 1 w * h / 2.0 + " " + 1 w * h / 2.0 w * h w h 2.0 " " 1 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);
        } x == w / 2.0 x w / 2.0 w 2.0 {
            System.out.println(w * h / 2.0 + " " + 0);
        } System.out.println(w * h / 2.0 + " " + 0) System.out.println System.out System System.out w * h / 2.0 + " " + 0 w * h / 2.0 + " " + 0 w * h / 2.0 w * h w h 2.0 " " 0 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);
        } y == h / 2.0 y h / 2.0 h 2.0 {
            System.out.println(w * h / 2.0 + " " + 0);
        } System.out.println(w * h / 2.0 + " " + 0) System.out.println System.out System System.out w * h / 2.0 + " " + 0 w * h / 2.0 + " " + 0 w * h / 2.0 w * h w h 2.0 " " 0 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);
        } x == w || y == h x == w x w y == h y h {
            System.out.println(w * h / 2.0 + " " + 0);
        } System.out.println(w * h / 2.0 + " " + 0) System.out.println System.out System System.out w * h / 2.0 + " " + 0 w * h / 2.0 + " " + 0 w * h / 2.0 w * h w h 2.0 " " 0 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);
        } x == 0 || y == 0 x == 0 x 0 y == 0 y 0 {
            System.out.println(w * h / 2.0 + " " + 0);
        } System.out.println(w * h / 2.0 + " " + 0) System.out.println System.out System System.out w * h / 2.0 + " " + 0 w * h / 2.0 + " " + 0 w * h / 2.0 w * h w h 2.0 " " 0 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);
        } x/y == w/h || (w-x)/y == w/h x/y == w/h x/y x y w/h w h (w-x)/y == w/h (w-x)/y (w-x) w x y w/h w h {
            System.out.println(w * h / 2.0 + " " + 0);
        } System.out.println(w * h / 2.0 + " " + 0) System.out.println System.out System System.out w * h / 2.0 + " " + 0 w * h / 2.0 + " " + 0 w * h / 2.0 w * h w h 2.0 " " 0 {
            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);
        } System.out.println(w * h / 2.0 + " " + 0) System.out.println System.out System System.out w * h / 2.0 + " " + 0 w * h / 2.0 + " " + 0 w * h / 2.0 w * h w h 2.0 " " 0 String... args args 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);
        }
    }
} 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);
        }
    }
} Main
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);
        }
    }
}