import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        System.out.print((w*h/2d) + " " + ((w == (x + x) && h == (y + y)) ? 1 : 0));
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        System.out.print((w*h/2d) + " " + ((w == (x + x) && h == (y + y)) ? 1 : 0));
    }
} Main public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        System.out.print((w*h/2d) + " " + ((w == (x + x) && h == (y + y)) ? 1 : 0));
    } main {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        System.out.print((w*h/2d) + " " + ((w == (x + x) && h == (y + y)) ? 1 : 0));
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w = sc.nextDouble(); w sc.nextDouble() sc.nextDouble sc double h = sc.nextDouble(); h sc.nextDouble() sc.nextDouble sc double x = sc.nextDouble(); x sc.nextDouble() sc.nextDouble sc double y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc System.out.print((w*h/2d) + " " + ((w == (x + x) && h == (y + y)) ? 1 : 0)) System.out.print System.out System System.out (w*h/2d) + " " + ((w == (x + x) && h == (y + y)) ? 1 : 0) (w*h/2d) + " " + ((w == (x + x) && h == (y + y)) ? 1 : 0) (w*h/2d) w*h w h 2d " " ((w == (x + x) && h == (y + y)) ? 1 : 0) (w == (x + x) && h == (y + y)) w == (x + x) w (x + x) x x h == (y + y) h (y + y) y y 1 0 String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        System.out.print((w*h/2d) + " " + ((w == (x + x) && h == (y + y)) ? 1 : 0));
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        System.out.print((w*h/2d) + " " + ((w == (x + x) && h == (y + y)) ? 1 : 0));
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        System.out.print((w*h/2d) + " " + ((w == (x + x) && h == (y + y)) ? 1 : 0));
    }
}