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());

        double area = (long) w * (long) h / 2.0;
        int root = (w / 2.0 == (double) x && h / 2.0 == (double) y) ? 1 : 0;

        System.out.println(area + " " + root);
    }
} 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());

        double area = (long) w * (long) h / 2.0;
        int root = (w / 2.0 == (double) x && h / 2.0 == (double) y) ? 1 : 0;

        System.out.println(area + " " + root);
    }
} 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());

        double area = (long) w * (long) h / 2.0;
        int root = (w / 2.0 == (double) x && h / 2.0 == (double) y) ? 1 : 0;

        System.out.println(area + " " + root);
    } 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());

        double area = (long) w * (long) h / 2.0;
        int root = (w / 2.0 == (double) x && h / 2.0 == (double) y) ? 1 : 0;

        System.out.println(area + " " + root);
    } 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 double area = (long) w * (long) h / 2.0; area (long) w * (long) h / 2.0 (long) w * (long) h (long) w (long) h 2.0 int root = (w / 2.0 == (double) x && h / 2.0 == (double) y) ? 1 : 0; root (w / 2.0 == (double) x && h / 2.0 == (double) y) ? 1 : 0 (w / 2.0 == (double) x && h / 2.0 == (double) y) w / 2.0 == (double) x w / 2.0 w 2.0 (double) x h / 2.0 == (double) y h / 2.0 h 2.0 (double) y 1 0 System.out.println(area + " " + root) System.out.println System.out System System.out area + " " + root area + " " + root area " " root 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());

        double area = (long) w * (long) h / 2.0;
        int root = (w / 2.0 == (double) x && h / 2.0 == (double) y) ? 1 : 0;

        System.out.println(area + " " + root);
    }
} 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());

        double area = (long) w * (long) h / 2.0;
        int root = (w / 2.0 == (double) x && h / 2.0 == (double) y) ? 1 : 0;

        System.out.println(area + " " + root);
    }
} 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());

        double area = (long) w * (long) h / 2.0;
        int root = (w / 2.0 == (double) x && h / 2.0 == (double) y) ? 1 : 0;

        System.out.println(area + " " + root);
    }
}
