    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();
           
           int ans = 0;
           if(w/2==x && h/2==y) ans = 1;
           double area = w*h;
           area/=2;
           System.out.printf("%.9f", area);
           System.out.print(" "+ans);
    }  
     
    } 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();
           
           int ans = 0;
           if(w/2==x && h/2==y) ans = 1;
           double area = w*h;
           area/=2;
           System.out.printf("%.9f", area);
           System.out.print(" "+ans);
    }  
     
    } 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();
           
           int ans = 0;
           if(w/2==x && h/2==y) ans = 1;
           double area = w*h;
           area/=2;
           System.out.printf("%.9f", area);
           System.out.print(" "+ans);
    } main {
            Scanner sc = new Scanner(System.in);
            double w = sc.nextDouble();
            double h = sc.nextDouble();
            double x = sc.nextDouble();
            double y = sc.nextDouble();
           
           int ans = 0;
           if(w/2==x && h/2==y) ans = 1;
           double area = w*h;
           area/=2;
           System.out.printf("%.9f", area);
           System.out.print(" "+ans);
    } 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 int ans = 0; ans 0 if(w/2==x && h/2==y) ans = 1; w/2==x && h/2==y w/2==x w/2 w 2 x h/2==y h/2 h 2 y ans = 1 ans 1 double area = w*h; area w*h w h area/=2 area 2 System.out.printf("%.9f", area) System.out.printf System.out System System.out "%.9f" area System.out.print(" "+ans) System.out.print System.out System System.out " "+ans " " ans 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();
           
           int ans = 0;
           if(w/2==x && h/2==y) ans = 1;
           double area = w*h;
           area/=2;
           System.out.printf("%.9f", area);
           System.out.print(" "+ans);
    }  
     
    } 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();
           
           int ans = 0;
           if(w/2==x && h/2==y) ans = 1;
           double area = w*h;
           area/=2;
           System.out.printf("%.9f", area);
           System.out.print(" "+ans);
    }  
     
    } 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();
           
           int ans = 0;
           if(w/2==x && h/2==y) ans = 1;
           double area = w*h;
           area/=2;
           System.out.printf("%.9f", area);
           System.out.print(" "+ans);
    }  
     
    }