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);
        RectangleCutting solver = new RectangleCutting();
        solver.solve(1, in, out);
        out.close();
    }

    static class RectangleCutting {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int w = in.nextInt();
            int h = in.nextInt();
            int x = in.nextInt();
            int y = in.nextInt();

            out.print((double) w * h / 2 + " ");
            if (2 * x == w && 2 * y == h) {
                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);
        RectangleCutting solver = new RectangleCutting();
        solver.solve(1, in, out);
        out.close();
    }

    static class RectangleCutting {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int w = in.nextInt();
            int h = in.nextInt();
            int x = in.nextInt();
            int y = in.nextInt();

            out.print((double) w * h / 2 + " ");
            if (2 * x == w && 2 * y == h) {
                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);
        RectangleCutting solver = new RectangleCutting();
        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);
        RectangleCutting solver = new RectangleCutting();
        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) RectangleCutting solver = new RectangleCutting(); solver new RectangleCutting() solver.solve(1, in, out) solver.solve solver 1 in out out.close() out.close out String[] args args static class RectangleCutting {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int w = in.nextInt();
            int h = in.nextInt();
            int x = in.nextInt();
            int y = in.nextInt();

            out.print((double) w * h / 2 + " ");
            if (2 * x == w && 2 * y == h) {
                out.print(1);
            } else {
                out.print(0);
            }
        }

    } RectangleCutting public void solve(int testNumber, Scanner in, PrintWriter out) {
            int w = in.nextInt();
            int h = in.nextInt();
            int x = in.nextInt();
            int y = in.nextInt();

            out.print((double) w * h / 2 + " ");
            if (2 * x == w && 2 * y == h) {
                out.print(1);
            } else {
                out.print(0);
            }
        } solve {
            int w = in.nextInt();
            int h = in.nextInt();
            int x = in.nextInt();
            int y = in.nextInt();

            out.print((double) w * h / 2 + " ");
            if (2 * x == w && 2 * y == h) {
                out.print(1);
            } else {
                out.print(0);
            }
        } int w = in.nextInt(); w in.nextInt() in.nextInt in int h = in.nextInt(); h in.nextInt() in.nextInt in int x = in.nextInt(); x in.nextInt() in.nextInt in int y = in.nextInt(); y in.nextInt() in.nextInt in out.print((double) w * h / 2 + " ") out.print out (double) w * h / 2 + " " (double) w * h / 2 (double) w * h (double) w h 2 " " if (2 * x == w && 2 * y == h) {
                out.print(1);
            } else {
                out.print(0);
            } 2 * x == w && 2 * y == h 2 * x == w 2 * x 2 x w 2 * y == h 2 * y 2 y h {
                out.print(1);
            } out.print(1) out.print out 1 {
                out.print(0);
            } 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);
        RectangleCutting solver = new RectangleCutting();
        solver.solve(1, in, out);
        out.close();
    }

    static class RectangleCutting {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int w = in.nextInt();
            int h = in.nextInt();
            int x = in.nextInt();
            int y = in.nextInt();

            out.print((double) w * h / 2 + " ");
            if (2 * x == w && 2 * y == h) {
                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);
        RectangleCutting solver = new RectangleCutting();
        solver.solve(1, in, out);
        out.close();
    }

    static class RectangleCutting {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int w = in.nextInt();
            int h = in.nextInt();
            int x = in.nextInt();
            int y = in.nextInt();

            out.print((double) w * h / 2 + " ");
            if (2 * x == w && 2 * y == h) {
                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);
        RectangleCutting solver = new RectangleCutting();
        solver.solve(1, in, out);
        out.close();
    }

    static class RectangleCutting {
        public void solve(int testNumber, Scanner in, PrintWriter out) {
            int w = in.nextInt();
            int h = in.nextInt();
            int x = in.nextInt();
            int y = in.nextInt();

            out.print((double) w * h / 2 + " ");
            if (2 * x == w && 2 * y == h) {
                out.print(1);
            } else {
                out.print(0);
            }
        }

    }
}

