import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = Double.parseDouble(sc.next()), h = Double.parseDouble(sc.next()), x = Double.parseDouble(sc.next()), y = Double.parseDouble(sc.next());

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

        System.out.println((w * h) / 2 + " " + (w / 2 == x && h / 2 == y ? "1" : "0"));
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = Double.parseDouble(sc.next()), h = Double.parseDouble(sc.next()), x = Double.parseDouble(sc.next()), y = Double.parseDouble(sc.next());

        System.out.println((w * h) / 2 + " " + (w / 2 == x && h / 2 == y ? "1" : "0"));
    } main {
        Scanner sc = new Scanner(System.in);
        double w = Double.parseDouble(sc.next()), h = Double.parseDouble(sc.next()), x = Double.parseDouble(sc.next()), y = Double.parseDouble(sc.next());

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

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

        System.out.println((w * h) / 2 + " " + (w / 2 == x && h / 2 == y ? "1" : "0"));
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = Double.parseDouble(sc.next()), h = Double.parseDouble(sc.next()), x = Double.parseDouble(sc.next()), y = Double.parseDouble(sc.next());

        System.out.println((w * h) / 2 + " " + (w / 2 == x && h / 2 == y ? "1" : "0"));
    }
}
