import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            long W = in.nextLong();
            long H = in.nextLong();
            long x = in.nextLong();
            long y = in.nextLong();
            System.out.println((W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0));
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            long W = in.nextLong();
            long H = in.nextLong();
            long x = in.nextLong();
            long y = in.nextLong();
            System.out.println((W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0));
        }
    }
} Main public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            long W = in.nextLong();
            long H = in.nextLong();
            long x = in.nextLong();
            long y = in.nextLong();
            System.out.println((W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0));
        }
    } main {
        try (Scanner in = new Scanner(System.in)) {
            long W = in.nextLong();
            long H = in.nextLong();
            long x = in.nextLong();
            long y = in.nextLong();
            System.out.println((W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0));
        }
    } try (Scanner in = new Scanner(System.in)) {
            long W = in.nextLong();
            long H = in.nextLong();
            long x = in.nextLong();
            long y = in.nextLong();
            System.out.println((W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0));
        } {
            long W = in.nextLong();
            long H = in.nextLong();
            long x = in.nextLong();
            long y = in.nextLong();
            System.out.println((W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0));
        } Scanner in = new Scanner(System.in) Scanner in = new Scanner(System.in) new Scanner(System.in) long W = in.nextLong(); W in.nextLong() in.nextLong in long H = in.nextLong(); H in.nextLong() in.nextLong in long x = in.nextLong(); x in.nextLong() in.nextLong in long y = in.nextLong(); y in.nextLong() in.nextLong in System.out.println((W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0)) System.out.println System.out System System.out (W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0) (W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0) (W * H / 2.0) W * H W H 2.0 " " ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0) (W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) H % 2 == 0 W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2 W % 2 == 0 W % 2 W 2 0 x == W / 2 x W / 2 W 2 H % 2 == 0 H % 2 H 2 0 y == H / 2 y H / 2 H 2 1 0 String[] args args public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            long W = in.nextLong();
            long H = in.nextLong();
            long x = in.nextLong();
            long y = in.nextLong();
            System.out.println((W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0));
        }
    }
} public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            long W = in.nextLong();
            long H = in.nextLong();
            long x = in.nextLong();
            long y = in.nextLong();
            System.out.println((W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0));
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        try (Scanner in = new Scanner(System.in)) {
            long W = in.nextLong();
            long H = in.nextLong();
            long x = in.nextLong();
            long y = in.nextLong();
            System.out.println((W * H / 2.0) + " " + ((W % 2 == 0 && x == W / 2 && H % 2 == 0 && y == H / 2) ? 1 : 0));
        }
    }
}
