
import java.util.Scanner;


public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {
        Scanner scanner = new Scanner(System.in);
        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        if ((double)x == (double)W / 2 && (double)y == (double)H / 2) {
            double tmp = (double)H * ((double)W / 2);
            System.out.print(String.format("%.10f", tmp));
            System.out.print(" ");
            System.out.print(1);
            return;
        }

        System.out.print(String.format("%.10f", (double)H * ((double)W / 2)));
        System.out.print(" ");
        System.out.print(0);

    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {
        Scanner scanner = new Scanner(System.in);
        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        if ((double)x == (double)W / 2 && (double)y == (double)H / 2) {
            double tmp = (double)H * ((double)W / 2);
            System.out.print(String.format("%.10f", tmp));
            System.out.print(" ");
            System.out.print(1);
            return;
        }

        System.out.print(String.format("%.10f", (double)H * ((double)W / 2)));
        System.out.print(" ");
        System.out.print(0);

    }
} Main public static void main(String[] args) {
        new Main().run();
    } main {
        new Main().run();
    } new Main().run() new Main().run new Main() String[] args args private void run() {
        Scanner scanner = new Scanner(System.in);
        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        if ((double)x == (double)W / 2 && (double)y == (double)H / 2) {
            double tmp = (double)H * ((double)W / 2);
            System.out.print(String.format("%.10f", tmp));
            System.out.print(" ");
            System.out.print(1);
            return;
        }

        System.out.print(String.format("%.10f", (double)H * ((double)W / 2)));
        System.out.print(" ");
        System.out.print(0);

    } run {
        Scanner scanner = new Scanner(System.in);
        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        if ((double)x == (double)W / 2 && (double)y == (double)H / 2) {
            double tmp = (double)H * ((double)W / 2);
            System.out.print(String.format("%.10f", tmp));
            System.out.print(" ");
            System.out.print(1);
            return;
        }

        System.out.print(String.format("%.10f", (double)H * ((double)W / 2)));
        System.out.print(" ");
        System.out.print(0);

    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) long W = scanner.nextLong(); W scanner.nextLong() scanner.nextLong scanner long H = scanner.nextLong(); H scanner.nextLong() scanner.nextLong scanner long x = scanner.nextLong(); x scanner.nextLong() scanner.nextLong scanner long y = scanner.nextLong(); y scanner.nextLong() scanner.nextLong scanner if ((double)x == (double)W / 2 && (double)y == (double)H / 2) {
            double tmp = (double)H * ((double)W / 2);
            System.out.print(String.format("%.10f", tmp));
            System.out.print(" ");
            System.out.print(1);
            return;
        } (double)x == (double)W / 2 && (double)y == (double)H / 2 (double)x == (double)W / 2 (double)x (double)W / 2 (double)W 2 (double)y == (double)H / 2 (double)y (double)H / 2 (double)H 2 {
            double tmp = (double)H * ((double)W / 2);
            System.out.print(String.format("%.10f", tmp));
            System.out.print(" ");
            System.out.print(1);
            return;
        } double tmp = (double)H * ((double)W / 2); tmp (double)H * ((double)W / 2) (double)H ((double)W / 2) (double)W 2 System.out.print(String.format("%.10f", tmp)) System.out.print System.out System System.out String.format("%.10f", tmp) String.format String "%.10f" tmp System.out.print(" ") System.out.print System.out System System.out " " System.out.print(1) System.out.print System.out System System.out 1 return; System.out.print(String.format("%.10f", (double)H * ((double)W / 2))) System.out.print System.out System System.out String.format("%.10f", (double)H * ((double)W / 2)) String.format String "%.10f" (double)H * ((double)W / 2) (double)H ((double)W / 2) (double)W 2 System.out.print(" ") System.out.print System.out System System.out " " System.out.print(0) System.out.print System.out System System.out 0 public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {
        Scanner scanner = new Scanner(System.in);
        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        if ((double)x == (double)W / 2 && (double)y == (double)H / 2) {
            double tmp = (double)H * ((double)W / 2);
            System.out.print(String.format("%.10f", tmp));
            System.out.print(" ");
            System.out.print(1);
            return;
        }

        System.out.print(String.format("%.10f", (double)H * ((double)W / 2)));
        System.out.print(" ");
        System.out.print(0);

    }
} public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {
        Scanner scanner = new Scanner(System.in);
        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        if ((double)x == (double)W / 2 && (double)y == (double)H / 2) {
            double tmp = (double)H * ((double)W / 2);
            System.out.print(String.format("%.10f", tmp));
            System.out.print(" ");
            System.out.print(1);
            return;
        }

        System.out.print(String.format("%.10f", (double)H * ((double)W / 2)));
        System.out.print(" ");
        System.out.print(0);

    }
} Main

import java.util.Scanner;


public class Main {
    public static void main(String[] args) {
        new Main().run();
    }

    private void run() {
        Scanner scanner = new Scanner(System.in);
        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        if ((double)x == (double)W / 2 && (double)y == (double)H / 2) {
            double tmp = (double)H * ((double)W / 2);
            System.out.print(String.format("%.10f", tmp));
            System.out.print(" ");
            System.out.print(1);
            return;
        }

        System.out.print(String.format("%.10f", (double)H * ((double)W / 2)));
        System.out.print(" ");
        System.out.print(0);

    }
}
