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

public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long W;
        W = sc.nextLong();
        long H;
        H = sc.nextLong();
        long x;
        x = sc.nextLong();
        long y;
        y = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(W, H, x, y);
    }
}

class Solver {
    public void solve(long W, long H, long x, long y) {
        final double area = W * H / 2.0;
        final int multiple = W == (x + x) && H == (y + y) ? 1 : 0;

        System.out.println(String.format("%f %d\n", area, multiple));
    }
}
 import java.io.*; io.* java import java.util.*; util.* java public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long W;
        W = sc.nextLong();
        long H;
        H = sc.nextLong();
        long x;
        x = sc.nextLong();
        long y;
        y = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(W, H, x, y);
    }
} Main public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long W;
        W = sc.nextLong();
        long H;
        H = sc.nextLong();
        long x;
        x = sc.nextLong();
        long y;
        y = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(W, H, x, y);
    } main {
        final Scanner sc = new Scanner(System.in);
        long W;
        W = sc.nextLong();
        long H;
        H = sc.nextLong();
        long x;
        x = sc.nextLong();
        long y;
        y = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(W, H, x, y);
    } final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long W; W W = sc.nextLong() W sc.nextLong() sc.nextLong sc long H; H H = sc.nextLong() H sc.nextLong() sc.nextLong sc long x; x x = sc.nextLong() x sc.nextLong() sc.nextLong sc long y; y y = sc.nextLong() y sc.nextLong() sc.nextLong sc final Solver solver = new Solver(); solver new Solver() solver.solve(W, H, x, y) solver.solve solver W H x y final String[] args args class Solver {
    public void solve(long W, long H, long x, long y) {
        final double area = W * H / 2.0;
        final int multiple = W == (x + x) && H == (y + y) ? 1 : 0;

        System.out.println(String.format("%f %d\n", area, multiple));
    }
} Solver public void solve(long W, long H, long x, long y) {
        final double area = W * H / 2.0;
        final int multiple = W == (x + x) && H == (y + y) ? 1 : 0;

        System.out.println(String.format("%f %d\n", area, multiple));
    } solve {
        final double area = W * H / 2.0;
        final int multiple = W == (x + x) && H == (y + y) ? 1 : 0;

        System.out.println(String.format("%f %d\n", area, multiple));
    } final double area = W * H / 2.0; area W * H / 2.0 W * H W H 2.0 final int multiple = W == (x + x) && H == (y + y) ? 1 : 0; multiple W == (x + x) && H == (y + y) ? 1 : 0 W == (x + x) && H == (y + y) W == (x + x) W (x + x) x x H == (y + y) H (y + y) y y 1 0 System.out.println(String.format("%f %d\n", area, multiple)) System.out.println System.out System System.out String.format("%f %d\n", area, multiple) String.format String "%f %d\n" area multiple long W W long H H long x x long y y public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long W;
        W = sc.nextLong();
        long H;
        H = sc.nextLong();
        long x;
        x = sc.nextLong();
        long y;
        y = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(W, H, x, y);
    }
} public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long W;
        W = sc.nextLong();
        long H;
        H = sc.nextLong();
        long x;
        x = sc.nextLong();
        long y;
        y = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(W, H, x, y);
    }
} Main
import java.io.*;
import java.util.*;

public class Main {

    public static void main(final String[] args) throws Exception {
        final Scanner sc = new Scanner(System.in);
        long W;
        W = sc.nextLong();
        long H;
        H = sc.nextLong();
        long x;
        x = sc.nextLong();
        long y;
        y = sc.nextLong();

        final Solver solver = new Solver();
        solver.solve(W, H, x, y);
    }
}

class Solver {
    public void solve(long W, long H, long x, long y) {
        final double area = W * H / 2.0;
        final int multiple = W == (x + x) && H == (y + y) ? 1 : 0;

        System.out.println(String.format("%f %d\n", area, multiple));
    }
}

