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