import java.util.*; 

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();
  		
		
  		double ans=w*h/2;
  		System.out.println(ans);
    
 	if(x==w/2&&y==h/2){
    		System.out.println(1);
    	}else{
     		System.out.println(0);
   	 }

    	
    }
} import java.util.*; util.* java 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();
  		
		
  		double ans=w*h/2;
  		System.out.println(ans);
    
 	if(x==w/2&&y==h/2){
    		System.out.println(1);
    	}else{
     		System.out.println(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();
  		
		
  		double ans=w*h/2;
  		System.out.println(ans);
    
 	if(x==w/2&&y==h/2){
    		System.out.println(1);
    	}else{
     		System.out.println(0);
   	 }

    	
    } main {
	Scanner sc=new Scanner(System.in);
        double w=sc.nextDouble();
        double h=sc.nextDouble();
		double x=sc.nextDouble();
		double y=sc.nextDouble();
  		
		
  		double ans=w*h/2;
  		System.out.println(ans);
    
 	if(x==w/2&&y==h/2){
    		System.out.println(1);
    	}else{
     		System.out.println(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 double ans=w*h/2; ans w*h/2 w*h w h 2 System.out.println(ans) System.out.println System.out System System.out ans if(x==w/2&&y==h/2){
    		System.out.println(1);
    	}else{
     		System.out.println(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(1);
    	} System.out.println(1) System.out.println System.out System System.out 1 {
     		System.out.println(0);
   	 } System.out.println(0) System.out.println System.out System System.out 0 String[] args args
import java.util.*; 

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();
  		
		
  		double ans=w*h/2;
  		System.out.println(ans);
    
 	if(x==w/2&&y==h/2){
    		System.out.println(1);
    	}else{
     		System.out.println(0);
   	 }

    	
    }
}