import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    }

    static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            double w = Double.parseDouble(in.next());
            double h = Double.parseDouble(in.next());
            double x = Double.parseDouble(in.next());
            double y = Double.parseDouble(in.next());
            double ans = w * h / 2.0;
            // 出力
            out.printf("%.10f", ans);
            out.print(" ");

            if (2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0) out.print(1);
            else out.print(0);

        }

    }
}
 import java.io.OutputStream; OutputStream java.io import java.io.IOException; IOException java.io import java.io.InputStream; InputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    }

    static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            double w = Double.parseDouble(in.next());
            double h = Double.parseDouble(in.next());
            double x = Double.parseDouble(in.next());
            double y = Double.parseDouble(in.next());
            double ans = w * h / 2.0;
            // 出力
            out.printf("%.10f", ans);
            out.print(" ");

            if (2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0) out.print(1);
            else out.print(0);

        }

    }
} Main public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    } main {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    } InputStream inputStream = System.in; inputStream System.in System System.in OutputStream outputStream = System.out; outputStream System.out System System.out Scanner in = new Scanner(inputStream); in new Scanner(inputStream) PrintWriter out = new PrintWriter(outputStream); out new PrintWriter(outputStream) C solver = new C(); solver new C() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            double w = Double.parseDouble(in.next());
            double h = Double.parseDouble(in.next());
            double x = Double.parseDouble(in.next());
            double y = Double.parseDouble(in.next());
            double ans = w * h / 2.0;
            // 出力
            out.printf("%.10f", ans);
            out.print(" ");

            if (2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0) out.print(1);
            else out.print(0);

        }

    } C public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            double w = Double.parseDouble(in.next());
            double h = Double.parseDouble(in.next());
            double x = Double.parseDouble(in.next());
            double y = Double.parseDouble(in.next());
            double ans = w * h / 2.0;
            // 出力
            out.printf("%.10f", ans);
            out.print(" ");

            if (2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0) out.print(1);
            else out.print(0);

        } solve {
            // 入力
            double w = Double.parseDouble(in.next());
            double h = Double.parseDouble(in.next());
            double x = Double.parseDouble(in.next());
            double y = Double.parseDouble(in.next());
            double ans = w * h / 2.0;
            // 出力
            out.printf("%.10f", ans);
            out.print(" ");

            if (2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0) out.print(1);
            else out.print(0);

        } double w = Double.parseDouble(in.next()); w Double.parseDouble(in.next()) Double.parseDouble Double in.next() in.next in double h = Double.parseDouble(in.next()); h Double.parseDouble(in.next()) Double.parseDouble Double in.next() in.next in double x = Double.parseDouble(in.next()); x Double.parseDouble(in.next()) Double.parseDouble Double in.next() in.next in double y = Double.parseDouble(in.next()); y Double.parseDouble(in.next()) Double.parseDouble Double in.next() in.next in double ans = w * h / 2.0; ans w * h / 2.0 w * h w h 2.0 out.printf("%.10f", ans) out.printf out "%.10f" ans out.print(" ") out.print out " " if (2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0) out.print(1);
            else out.print(0); 2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0 w % 2 == 0 2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0 2 * x == w 2 * x 2 x w 2 * y == h 2 * y 2 y h w % 2 == 0 w % 2 w 2 0 h % 2 == 0 h % 2 h 2 0 out.print(1) out.print out 1 out.print(0) out.print out 0 int testNumber testNumber Scanner in in PrintWriter out out public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    }

    static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            double w = Double.parseDouble(in.next());
            double h = Double.parseDouble(in.next());
            double x = Double.parseDouble(in.next());
            double y = Double.parseDouble(in.next());
            double ans = w * h / 2.0;
            // 出力
            out.printf("%.10f", ans);
            out.print(" ");

            if (2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0) out.print(1);
            else out.print(0);

        }

    }
} public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    }

    static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            double w = Double.parseDouble(in.next());
            double h = Double.parseDouble(in.next());
            double x = Double.parseDouble(in.next());
            double y = Double.parseDouble(in.next());
            double ans = w * h / 2.0;
            // 出力
            out.printf("%.10f", ans);
            out.print(" ");

            if (2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0) out.print(1);
            else out.print(0);

        }

    }
} Main
import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.Scanner;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        Scanner in = new Scanner(inputStream);
        PrintWriter out = new PrintWriter(outputStream);
        C solver = new C();
        solver.solve(1, in, out);
        out.close();
    }

    static class C {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            // 入力
            double w = Double.parseDouble(in.next());
            double h = Double.parseDouble(in.next());
            double x = Double.parseDouble(in.next());
            double y = Double.parseDouble(in.next());
            double ans = w * h / 2.0;
            // 出力
            out.printf("%.10f", ans);
            out.print(" ");

            if (2 * x == w && 2 * y == h && w % 2 == 0 && h % 2 == 0) out.print(1);
            else out.print(0);

        }

    }
}

