import java.util.*;

public class Main {
    void run() {
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

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

    void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    }

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

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

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

    void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    }

    public static void main(String[] args) {
        new Main().run();
    }
} Main void run() {
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

        System.out.println(w * h / (double) 2);
        System.out.println(x == w / (double)2 && y == h / (double)2 ? 1 : 0);
    } run {
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

        System.out.println(w * h / (double) 2);
        System.out.println(x == w / (double)2 && y == h / (double)2 ? 1 : 0);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = sc.nextLong(); w sc.nextLong() sc.nextLong sc long h = sc.nextLong(); h sc.nextLong() sc.nextLong sc long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long y = sc.nextLong(); y sc.nextLong() sc.nextLong sc System.out.println(w * h / (double) 2) System.out.println System.out System System.out w * h / (double) 2 w * h w h (double) 2 System.out.println(x == w / (double)2 && y == h / (double)2 ? 1 : 0) System.out.println System.out System System.out x == w / (double)2 && y == h / (double)2 ? 1 : 0 x == w / (double)2 && y == h / (double)2 x == w / (double)2 x w / (double)2 w (double)2 y == h / (double)2 y h / (double)2 h (double)2 1 0 void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    } debug {
        System.err.println(Arrays.deepToString(os));
    } System.err.println(Arrays.deepToString(os)) System.err.println System.err System System.err Arrays.deepToString(os) Arrays.deepToString Arrays os Object... os os public static void main(String[] args) {
        new Main().run();
    } main {
        new Main().run();
    } new Main().run() new Main().run new Main() String[] args args public class Main {
    void run() {
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

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

    void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    }

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

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

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

    void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    }

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

public class Main {
    void run() {
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

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

    void debug(Object... os) {
        System.err.println(Arrays.deepToString(os));
    }

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