import java.util.Scanner;

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

        double w = stdIn.nextInt();
        double h = stdIn.nextInt();
        double x = stdIn.nextInt();
        double y = stdIn.nextInt();

        double ans = w * h / 2;
        System.out.println(ans);
        if (x == w / 2 && y == h / 2)
            System.out.println('1');
        else
            System.out.println('0');
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);

        double w = stdIn.nextInt();
        double h = stdIn.nextInt();
        double x = stdIn.nextInt();
        double y = stdIn.nextInt();

        double ans = w * h / 2;
        System.out.println(ans);
        if (x == w / 2 && y == h / 2)
            System.out.println('1');
        else
            System.out.println('0');
    }
} Main public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);

        double w = stdIn.nextInt();
        double h = stdIn.nextInt();
        double x = stdIn.nextInt();
        double y = stdIn.nextInt();

        double ans = w * h / 2;
        System.out.println(ans);
        if (x == w / 2 && y == h / 2)
            System.out.println('1');
        else
            System.out.println('0');
    } main {
        Scanner stdIn = new Scanner(System.in);

        double w = stdIn.nextInt();
        double h = stdIn.nextInt();
        double x = stdIn.nextInt();
        double y = stdIn.nextInt();

        double ans = w * h / 2;
        System.out.println(ans);
        if (x == w / 2 && y == h / 2)
            System.out.println('1');
        else
            System.out.println('0');
    } Scanner stdIn = new Scanner(System.in); stdIn new Scanner(System.in) double w = stdIn.nextInt(); w stdIn.nextInt() stdIn.nextInt stdIn double h = stdIn.nextInt(); h stdIn.nextInt() stdIn.nextInt stdIn double x = stdIn.nextInt(); x stdIn.nextInt() stdIn.nextInt stdIn double y = stdIn.nextInt(); y stdIn.nextInt() stdIn.nextInt stdIn double ans = w * h / 2; ans w * h / 2 w * h w h 2 System.out.println(ans) System.out.println System.out System System.out ans if (x == w / 2 && y == h / 2)
            System.out.println('1');
        else
            System.out.println('0'); x == w / 2 && y == h / 2 x == w / 2 x w / 2 w 2 y == h / 2 y h / 2 h 2 System.out.println('1') System.out.println System.out System System.out '1' System.out.println('0') System.out.println System.out System System.out '0' String[] args args public class Main {
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);

        double w = stdIn.nextInt();
        double h = stdIn.nextInt();
        double x = stdIn.nextInt();
        double y = stdIn.nextInt();

        double ans = w * h / 2;
        System.out.println(ans);
        if (x == w / 2 && y == h / 2)
            System.out.println('1');
        else
            System.out.println('0');
    }
} public class Main {
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);

        double w = stdIn.nextInt();
        double h = stdIn.nextInt();
        double x = stdIn.nextInt();
        double y = stdIn.nextInt();

        double ans = w * h / 2;
        System.out.println(ans);
        if (x == w / 2 && y == h / 2)
            System.out.println('1');
        else
            System.out.println('0');
    }
} Main
import java.util.Scanner;

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

        double w = stdIn.nextInt();
        double h = stdIn.nextInt();
        double x = stdIn.nextInt();
        double y = stdIn.nextInt();

        double ans = w * h / 2;
        System.out.println(ans);
        if (x == w / 2 && y == h / 2)
            System.out.println('1');
        else
            System.out.println('0');
    }
}
