import java.util.*;

public class Main {
    static Scanner scanner = new Scanner(System.in);

    public static void main(String[]$) {
        double w = scanner.nextInt();
        double h = scanner.nextInt();
        double x = scanner.nextInt();
        double y = scanner.nextInt();
        System.out.println(w * h / 2 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
    }
} import java.util.*; util.* java public class Main {
    static Scanner scanner = new Scanner(System.in);

    public static void main(String[]$) {
        double w = scanner.nextInt();
        double h = scanner.nextInt();
        double x = scanner.nextInt();
        double y = scanner.nextInt();
        System.out.println(w * h / 2 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
    }
} Main static Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) public static void main(String[]$) {
        double w = scanner.nextInt();
        double h = scanner.nextInt();
        double x = scanner.nextInt();
        double y = scanner.nextInt();
        System.out.println(w * h / 2 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
    } main {
        double w = scanner.nextInt();
        double h = scanner.nextInt();
        double x = scanner.nextInt();
        double y = scanner.nextInt();
        System.out.println(w * h / 2 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
    } double w = scanner.nextInt(); w scanner.nextInt() scanner.nextInt scanner double h = scanner.nextInt(); h scanner.nextInt() scanner.nextInt scanner double x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner double y = scanner.nextInt(); y scanner.nextInt() scanner.nextInt scanner System.out.println(w * h / 2 + " " + (x * 2 == w && y * 2 == h ? 1 : 0)) System.out.println System.out System System.out w * h / 2 + " " + (x * 2 == w && y * 2 == h ? 1 : 0) w * h / 2 + " " + (x * 2 == w && y * 2 == h ? 1 : 0) w * h / 2 w * h w h 2 " " (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 String[]$ $ public class Main {
    static Scanner scanner = new Scanner(System.in);

    public static void main(String[]$) {
        double w = scanner.nextInt();
        double h = scanner.nextInt();
        double x = scanner.nextInt();
        double y = scanner.nextInt();
        System.out.println(w * h / 2 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
    }
} public class Main {
    static Scanner scanner = new Scanner(System.in);

    public static void main(String[]$) {
        double w = scanner.nextInt();
        double h = scanner.nextInt();
        double x = scanner.nextInt();
        double y = scanner.nextInt();
        System.out.println(w * h / 2 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
    }
} Main
import java.util.*;

public class Main {
    static Scanner scanner = new Scanner(System.in);

    public static void main(String[]$) {
        double w = scanner.nextInt();
        double h = scanner.nextInt();
        double x = scanner.nextInt();
        double y = scanner.nextInt();
        System.out.println(w * h / 2 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
    }
}