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

        if(x==W/2 && y==H/2){
            System.out.println(W * H / 2 + " " + 1);
        }
        else{
            System.out.println(W * H / 2 + " " + 0);
        }
    }
} import java.util.*; util.* java public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
 
        double W = sc.nextDouble();
        Double H = sc.nextDouble();
        Double x = sc.nextDouble();
        Double y = sc.nextDouble();

        if(x==W/2 && y==H/2){
            System.out.println(W * H / 2 + " " + 1);
        }
        else{
            System.out.println(W * H / 2 + " " + 0);
        }
    }
} Main public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
 
        double W = sc.nextDouble();
        Double H = sc.nextDouble();
        Double x = sc.nextDouble();
        Double y = sc.nextDouble();

        if(x==W/2 && y==H/2){
            System.out.println(W * H / 2 + " " + 1);
        }
        else{
            System.out.println(W * H / 2 + " " + 0);
        }
    } main {
        Scanner sc = new Scanner(System.in);
 
        double W = sc.nextDouble();
        Double H = sc.nextDouble();
        Double x = sc.nextDouble();
        Double y = sc.nextDouble();

        if(x==W/2 && y==H/2){
            System.out.println(W * H / 2 + " " + 1);
        }
        else{
            System.out.println(W * H / 2 + " " + 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 if(x==W/2 && y==H/2){
            System.out.println(W * H / 2 + " " + 1);
        }
        else{
            System.out.println(W * H / 2 + " " + 0);
        } x==W/2 && y==H/2 x==W/2 x W/2 W 2 y==H/2 y H/2 H 2 {
            System.out.println(W * H / 2 + " " + 1);
        } System.out.println(W * H / 2 + " " + 1) System.out.println System.out System System.out W * H / 2 + " " + 1 W * H / 2 + " " + 1 W * H / 2 W * H W H 2 " " 1 {
            System.out.println(W * H / 2 + " " + 0);
        } System.out.println(W * H / 2 + " " + 0) System.out.println System.out System System.out W * H / 2 + " " + 0 W * H / 2 + " " + 0 W * H / 2 W * H W H 2 " " 0 String[] args args public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
 
        double W = sc.nextDouble();
        Double H = sc.nextDouble();
        Double x = sc.nextDouble();
        Double y = sc.nextDouble();

        if(x==W/2 && y==H/2){
            System.out.println(W * H / 2 + " " + 1);
        }
        else{
            System.out.println(W * H / 2 + " " + 0);
        }
    }
} public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
 
        double W = sc.nextDouble();
        Double H = sc.nextDouble();
        Double x = sc.nextDouble();
        Double y = sc.nextDouble();

        if(x==W/2 && y==H/2){
            System.out.println(W * H / 2 + " " + 1);
        }
        else{
            System.out.println(W * H / 2 + " " + 0);
        }
    }
} Main
import java.util.*;
 
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
 
        double W = sc.nextDouble();
        Double H = sc.nextDouble();
        Double x = sc.nextDouble();
        Double y = sc.nextDouble();

        if(x==W/2 && y==H/2){
            System.out.println(W * H / 2 + " " + 1);
        }
        else{
            System.out.println(W * H / 2 + " " + 0);
        }
    }
}
