import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int W = Integer.parseInt(sc.next());
        int H = Integer.parseInt(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());

        // 組み合わせ
        int pattern = 0;
        if (2 * x == W && 2 * y == H) {
            pattern++;
        }

        // 面積
        double rect = (double) H * W / 2;

        System.out.println(rect + " " + pattern);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int W = Integer.parseInt(sc.next());
        int H = Integer.parseInt(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());

        // 組み合わせ
        int pattern = 0;
        if (2 * x == W && 2 * y == H) {
            pattern++;
        }

        // 面積
        double rect = (double) H * W / 2;

        System.out.println(rect + " " + pattern);
    }
} Main public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int W = Integer.parseInt(sc.next());
        int H = Integer.parseInt(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());

        // 組み合わせ
        int pattern = 0;
        if (2 * x == W && 2 * y == H) {
            pattern++;
        }

        // 面積
        double rect = (double) H * W / 2;

        System.out.println(rect + " " + pattern);
    } main {

        Scanner sc = new Scanner(System.in);
        int W = Integer.parseInt(sc.next());
        int H = Integer.parseInt(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());

        // 組み合わせ
        int pattern = 0;
        if (2 * x == W && 2 * y == H) {
            pattern++;
        }

        // 面積
        double rect = (double) H * W / 2;

        System.out.println(rect + " " + pattern);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int W = Integer.parseInt(sc.next()); W Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int H = Integer.parseInt(sc.next()); H Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int pattern = 0; pattern 0 if (2 * x == W && 2 * y == H) {
            pattern++;
        } 2 * x == W && 2 * y == H 2 * x == W 2 * x 2 x W 2 * y == H 2 * y 2 y H {
            pattern++;
        } pattern++ pattern double rect = (double) H * W / 2; rect (double) H * W / 2 (double) H * W (double) H W 2 System.out.println(rect + " " + pattern) System.out.println System.out System System.out rect + " " + pattern rect + " " + pattern rect " " pattern String[] args args public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int W = Integer.parseInt(sc.next());
        int H = Integer.parseInt(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());

        // 組み合わせ
        int pattern = 0;
        if (2 * x == W && 2 * y == H) {
            pattern++;
        }

        // 面積
        double rect = (double) H * W / 2;

        System.out.println(rect + " " + pattern);
    }
} public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int W = Integer.parseInt(sc.next());
        int H = Integer.parseInt(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());

        // 組み合わせ
        int pattern = 0;
        if (2 * x == W && 2 * y == H) {
            pattern++;
        }

        // 面積
        double rect = (double) H * W / 2;

        System.out.println(rect + " " + pattern);
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int W = Integer.parseInt(sc.next());
        int H = Integer.parseInt(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());

        // 組み合わせ
        int pattern = 0;
        if (2 * x == W && 2 * y == H) {
            pattern++;
        }

        // 面積
        double rect = (double) H * W / 2;

        System.out.println(rect + " " + pattern);
    }
}
