import java.util.*;
 
public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	double width = scan.nextDouble();	
      	double height = scan.nextDouble();
      	double x = scan.nextDouble();
      	double y = scan.nextDouble();
      	int mi = 0;
      	System.out.print(width * height / 2.0);
      	if(width == 2 * x && height == 2 * y) {
        	mi = 1;
        }
      	System.out.print(" " + mi);
    
    }
 
 
} import java.util.*; util.* java public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	double width = scan.nextDouble();	
      	double height = scan.nextDouble();
      	double x = scan.nextDouble();
      	double y = scan.nextDouble();
      	int mi = 0;
      	System.out.print(width * height / 2.0);
      	if(width == 2 * x && height == 2 * y) {
        	mi = 1;
        }
      	System.out.print(" " + mi);
    
    }
 
 
} Main public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	double width = scan.nextDouble();	
      	double height = scan.nextDouble();
      	double x = scan.nextDouble();
      	double y = scan.nextDouble();
      	int mi = 0;
      	System.out.print(width * height / 2.0);
      	if(width == 2 * x && height == 2 * y) {
        	mi = 1;
        }
      	System.out.print(" " + mi);
    
    } main {
    	Scanner scan = new Scanner(System.in);
      	double width = scan.nextDouble();	
      	double height = scan.nextDouble();
      	double x = scan.nextDouble();
      	double y = scan.nextDouble();
      	int mi = 0;
      	System.out.print(width * height / 2.0);
      	if(width == 2 * x && height == 2 * y) {
        	mi = 1;
        }
      	System.out.print(" " + mi);
    
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double width = scan.nextDouble(); width scan.nextDouble() scan.nextDouble scan double height = scan.nextDouble(); height scan.nextDouble() scan.nextDouble scan double x = scan.nextDouble(); x scan.nextDouble() scan.nextDouble scan double y = scan.nextDouble(); y scan.nextDouble() scan.nextDouble scan int mi = 0; mi 0 System.out.print(width * height / 2.0) System.out.print System.out System System.out width * height / 2.0 width * height width height 2.0 if(width == 2 * x && height == 2 * y) {
        	mi = 1;
        } width == 2 * x && height == 2 * y width == 2 * x width 2 * x 2 x height == 2 * y height 2 * y 2 y {
        	mi = 1;
        } mi = 1 mi 1 System.out.print(" " + mi) System.out.print System.out System System.out " " + mi " " mi String[] args args public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	double width = scan.nextDouble();	
      	double height = scan.nextDouble();
      	double x = scan.nextDouble();
      	double y = scan.nextDouble();
      	int mi = 0;
      	System.out.print(width * height / 2.0);
      	if(width == 2 * x && height == 2 * y) {
        	mi = 1;
        }
      	System.out.print(" " + mi);
    
    }
 
 
} public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	double width = scan.nextDouble();	
      	double height = scan.nextDouble();
      	double x = scan.nextDouble();
      	double y = scan.nextDouble();
      	int mi = 0;
      	System.out.print(width * height / 2.0);
      	if(width == 2 * x && height == 2 * y) {
        	mi = 1;
        }
      	System.out.print(" " + mi);
    
    }
 
 
} Main
import java.util.*;
 
public class Main{
	public static void main(String[] args){
    	Scanner scan = new Scanner(System.in);
      	double width = scan.nextDouble();	
      	double height = scan.nextDouble();
      	double x = scan.nextDouble();
      	double y = scan.nextDouble();
      	int mi = 0;
      	System.out.print(width * height / 2.0);
      	if(width == 2 * x && height == 2 * y) {
        	mi = 1;
        }
      	System.out.print(" " + mi);
    
    }
 
 
}