import java.util.Scanner;

class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        double W = sc.nextDouble();
        double H = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();

        double area = W*H/2;
        int isMulti = 0;
        if (x == W/2 && y == H/2) {
            isMulti = 1;
        }

        System.out.println(String.format("%.6f", area) + " " + isMulti);
    }

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

        Scanner sc = new Scanner(System.in);
        double W = sc.nextDouble();
        double H = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();

        double area = W*H/2;
        int isMulti = 0;
        if (x == W/2 && y == H/2) {
            isMulti = 1;
        }

        System.out.println(String.format("%.6f", area) + " " + isMulti);
    }

} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        double W = sc.nextDouble();
        double H = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();

        double area = W*H/2;
        int isMulti = 0;
        if (x == W/2 && y == H/2) {
            isMulti = 1;
        }

        System.out.println(String.format("%.6f", area) + " " + isMulti);
    } main {

        Scanner sc = new Scanner(System.in);
        double W = sc.nextDouble();
        double H = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();

        double area = W*H/2;
        int isMulti = 0;
        if (x == W/2 && y == H/2) {
            isMulti = 1;
        }

        System.out.println(String.format("%.6f", area) + " " + isMulti);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double W = sc.nextDouble(); W sc.nextDouble() sc.nextDouble sc double H = sc.nextDouble(); H sc.nextDouble() sc.nextDouble sc double x = sc.nextDouble(); x sc.nextDouble() sc.nextDouble sc double y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc double area = W*H/2; area W*H/2 W*H W H 2 int isMulti = 0; isMulti 0 if (x == W/2 && y == H/2) {
            isMulti = 1;
        } x == W/2 && y == H/2 x == W/2 x W/2 W 2 y == H/2 y H/2 H 2 {
            isMulti = 1;
        } isMulti = 1 isMulti 1 System.out.println(String.format("%.6f", area) + " " + isMulti) System.out.println System.out System System.out String.format("%.6f", area) + " " + isMulti String.format("%.6f", area) + " " + isMulti String.format("%.6f", area) String.format String "%.6f" area " " isMulti String[] args args
import java.util.Scanner;

class Main {
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        double W = sc.nextDouble();
        double H = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();

        double area = W*H/2;
        int isMulti = 0;
        if (x == W/2 && y == H/2) {
            isMulti = 1;
        }

        System.out.println(String.format("%.6f", area) + " " + isMulti);
    }

}