import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.println(solve(W, H, x, y));

        sc.close();
    }

    static String solve(int W, int H, int x, int y) {
        return String.format("%f %d", W / 2.0 * H, (x * 2 == W && y * 2 == H) ? 1 : 0);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.println(solve(W, H, x, y));

        sc.close();
    }

    static String solve(int W, int H, int x, int y) {
        return String.format("%f %d", W / 2.0 * H, (x * 2 == W && y * 2 == H) ? 1 : 0);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.println(solve(W, H, x, y));

        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);

        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.println(solve(W, H, x, y));

        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int W = sc.nextInt(); W sc.nextInt() sc.nextInt sc int H = sc.nextInt(); H sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc System.out.println(solve(W, H, x, y)) System.out.println System.out System System.out solve(W, H, x, y) solve W H x y sc.close() sc.close sc String[] args args static String solve(int W, int H, int x, int y) {
        return String.format("%f %d", W / 2.0 * H, (x * 2 == W && y * 2 == H) ? 1 : 0);
    } solve {
        return String.format("%f %d", W / 2.0 * H, (x * 2 == W && y * 2 == H) ? 1 : 0);
    } return String.format("%f %d", W / 2.0 * H, (x * 2 == W && y * 2 == H) ? 1 : 0); String.format("%f %d", W / 2.0 * H, (x * 2 == W && y * 2 == H) ? 1 : 0) String.format String "%f %d" W / 2.0 * H W / 2.0 W 2.0 H (x * 2 == W && y * 2 == H) ? 1 : 0 (x * 2 == W && y * 2 == H) x * 2 == W x * 2 x 2 W y * 2 == H y * 2 y 2 H 1 0 int W W int H H int x x int y y public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.println(solve(W, H, x, y));

        sc.close();
    }

    static String solve(int W, int H, int x, int y) {
        return String.format("%f %d", W / 2.0 * H, (x * 2 == W && y * 2 == H) ? 1 : 0);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.println(solve(W, H, x, y));

        sc.close();
    }

    static String solve(int W, int H, int x, int y) {
        return String.format("%f %d", W / 2.0 * H, (x * 2 == W && y * 2 == H) ? 1 : 0);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.println(solve(W, H, x, y));

        sc.close();
    }

    static String solve(int W, int H, int x, int y) {
        return String.format("%f %d", W / 2.0 * H, (x * 2 == W && y * 2 == H) ? 1 : 0);
    }
}