import java.util.*;
class Main{
    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        double w = scanner.nextDouble();
        double h = scanner.nextDouble();
        double x = scanner.nextDouble();
        double y = scanner.nextDouble();

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

        int count = 0;
        if(w/2 == x && h/2 == y){count++;}
        System.out.println((w*h/2.0) + " " + count);
        
    }
} Main public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        double w = scanner.nextDouble();
        double h = scanner.nextDouble();
        double x = scanner.nextDouble();
        double y = scanner.nextDouble();

        int count = 0;
        if(w/2 == x && h/2 == y){count++;}
        System.out.println((w*h/2.0) + " " + count);
        
    } main {
        Scanner scanner = new Scanner(System.in);
        double w = scanner.nextDouble();
        double h = scanner.nextDouble();
        double x = scanner.nextDouble();
        double y = scanner.nextDouble();

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

        int count = 0;
        if(w/2 == x && h/2 == y){count++;}
        System.out.println((w*h/2.0) + " " + count);
        
    }
}

