import java.util.*;
public class Main {

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

        int w, h, x, y;
        w = sc.nextInt();
        h = sc.nextInt();
        x = sc.nextInt();
        y = sc.nextInt();
        int b;
        if ((w==x+x) && (h==y+y)) b=1;
        else b = 0;
        System.out.println(String.format("%.6f", (double)w*(double)h/2)+" "+b);
    }
} import java.util.*; util.* java public class Main {

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

        int w, h, x, y;
        w = sc.nextInt();
        h = sc.nextInt();
        x = sc.nextInt();
        y = sc.nextInt();
        int b;
        if ((w==x+x) && (h==y+y)) b=1;
        else b = 0;
        System.out.println(String.format("%.6f", (double)w*(double)h/2)+" "+b);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        int w, h, x, y;
        w = sc.nextInt();
        h = sc.nextInt();
        x = sc.nextInt();
        y = sc.nextInt();
        int b;
        if ((w==x+x) && (h==y+y)) b=1;
        else b = 0;
        System.out.println(String.format("%.6f", (double)w*(double)h/2)+" "+b);
    } main {
        Scanner sc = new Scanner(System.in);

        int w, h, x, y;
        w = sc.nextInt();
        h = sc.nextInt();
        x = sc.nextInt();
        y = sc.nextInt();
        int b;
        if ((w==x+x) && (h==y+y)) b=1;
        else b = 0;
        System.out.println(String.format("%.6f", (double)w*(double)h/2)+" "+b);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int w w h h x x y; y w = sc.nextInt() w sc.nextInt() sc.nextInt sc h = sc.nextInt() h sc.nextInt() sc.nextInt sc x = sc.nextInt() x sc.nextInt() sc.nextInt sc y = sc.nextInt() y sc.nextInt() sc.nextInt sc int b; b if ((w==x+x) && (h==y+y)) b=1;
        else b = 0; (w==x+x) && (h==y+y) (w==x+x) w x+x x x (h==y+y) h y+y y y b=1 b 1 b = 0 b 0 System.out.println(String.format("%.6f", (double)w*(double)h/2)+" "+b) System.out.println System.out System System.out String.format("%.6f", (double)w*(double)h/2)+" "+b String.format("%.6f", (double)w*(double)h/2)+" "+b String.format("%.6f", (double)w*(double)h/2) String.format String "%.6f" (double)w*(double)h/2 (double)w*(double)h (double)w (double)h 2 " " b String[] args args public class Main {

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

        int w, h, x, y;
        w = sc.nextInt();
        h = sc.nextInt();
        x = sc.nextInt();
        y = sc.nextInt();
        int b;
        if ((w==x+x) && (h==y+y)) b=1;
        else b = 0;
        System.out.println(String.format("%.6f", (double)w*(double)h/2)+" "+b);
    }
} public class Main {

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

        int w, h, x, y;
        w = sc.nextInt();
        h = sc.nextInt();
        x = sc.nextInt();
        y = sc.nextInt();
        int b;
        if ((w==x+x) && (h==y+y)) b=1;
        else b = 0;
        System.out.println(String.format("%.6f", (double)w*(double)h/2)+" "+b);
    }
} Main
import java.util.*;
public class Main {

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

        int w, h, x, y;
        w = sc.nextInt();
        h = sc.nextInt();
        x = sc.nextInt();
        y = sc.nextInt();
        int b;
        if ((w==x+x) && (h==y+y)) b=1;
        else b = 0;
        System.out.println(String.format("%.6f", (double)w*(double)h/2)+" "+b);
    }
}