import java.util.Scanner;

class Main {
    public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        int W = scan.nextInt();
        int H = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();

        double area =(double)W * H/2;

        int flag =  0;
        if (x*2==W && y*2==H) {
            flag = 1;
        }

        System.out.println(area + " " + flag);

    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        int W = scan.nextInt();
        int H = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();

        double area =(double)W * H/2;

        int flag =  0;
        if (x*2==W && y*2==H) {
            flag = 1;
        }

        System.out.println(area + " " + flag);

    }
} Main public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        int W = scan.nextInt();
        int H = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();

        double area =(double)W * H/2;

        int flag =  0;
        if (x*2==W && y*2==H) {
            flag = 1;
        }

        System.out.println(area + " " + flag);

    } main {
        Scanner scan = new Scanner(System.in);
        int W = scan.nextInt();
        int H = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();

        double area =(double)W * H/2;

        int flag =  0;
        if (x*2==W && y*2==H) {
            flag = 1;
        }

        System.out.println(area + " " + flag);

    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int W = scan.nextInt(); W scan.nextInt() scan.nextInt scan int H = scan.nextInt(); H scan.nextInt() scan.nextInt scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan double area =(double)W * H/2; area (double)W * H/2 (double)W * H (double)W H 2 int flag =  0; flag 0 if (x*2==W && y*2==H) {
            flag = 1;
        } x*2==W && y*2==H x*2==W x*2 x 2 W y*2==H y*2 y 2 H {
            flag = 1;
        } flag = 1 flag 1 System.out.println(area + " " + flag) System.out.println System.out System System.out area + " " + flag area + " " + flag area " " flag final String[] args args
import java.util.Scanner;

class Main {
    public static void main(final String[] args) {
        Scanner scan = new Scanner(System.in);
        int W = scan.nextInt();
        int H = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();

        double area =(double)W * H/2;

        int flag =  0;
        if (x*2==W && y*2==H) {
            flag = 1;
        }

        System.out.println(area + " " + flag);

    }
}
