import java.util.Scanner;
 
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 area = (double)w*h/2.0;
      	int d = 0;
      	if(w==2*x && h==2*y)
          d = 1;
      	System.out.print(area);
      	System.out.println(" " + d);
    }
} import java.util.Scanner; Scanner 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 area = (double)w*h/2.0;
      	int d = 0;
      	if(w==2*x && h==2*y)
          d = 1;
      	System.out.print(area);
      	System.out.println(" " + d);
    }
} 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 area = (double)w*h/2.0;
      	int d = 0;
      	if(w==2*x && h==2*y)
          d = 1;
      	System.out.print(area);
      	System.out.println(" " + d);
    } main {
    	Scanner sc = new Scanner(System.in);
      	int w = sc.nextInt();
      	int h = sc.nextInt();
      	int x = sc.nextInt();
      	int y = sc.nextInt();
      
      	double area = (double)w*h/2.0;
      	int d = 0;
      	if(w==2*x && h==2*y)
          d = 1;
      	System.out.print(area);
      	System.out.println(" " + d);
    } 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 area = (double)w*h/2.0; area (double)w*h/2.0 (double)w*h (double)w h 2.0 int d = 0; d 0 if(w==2*x && h==2*y)
          d = 1; w==2*x && h==2*y w==2*x w 2*x 2 x h==2*y h 2*y 2 y d = 1 d 1 System.out.print(area) System.out.print System.out System System.out area System.out.println(" " + d) System.out.println System.out System System.out " " + d " " d 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 area = (double)w*h/2.0;
      	int d = 0;
      	if(w==2*x && h==2*y)
          d = 1;
      	System.out.print(area);
      	System.out.println(" " + d);
    }
} 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 area = (double)w*h/2.0;
      	int d = 0;
      	if(w==2*x && h==2*y)
          d = 1;
      	System.out.print(area);
      	System.out.println(" " + d);
    }
} Main
import java.util.Scanner;
 
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 area = (double)w*h/2.0;
      	int d = 0;
      	if(w==2*x && h==2*y)
          d = 1;
      	System.out.print(area);
      	System.out.println(" " + d);
    }
}