
import java.util.*;

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

import java.util.*;

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