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();
		int count=0;
		double res=(double)W*(double)H/2;
		if(2*x==W && 2*y==H) count=1;
		
		System.out.println(String.format("%.6f", res)+" "+count);
	}

} 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();
		int count=0;
		double res=(double)W*(double)H/2;
		if(2*x==W && 2*y==H) count=1;
		
		System.out.println(String.format("%.6f", res)+" "+count);
	}

} 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();
		int count=0;
		double res=(double)W*(double)H/2;
		if(2*x==W && 2*y==H) count=1;
		
		System.out.println(String.format("%.6f", res)+" "+count);
	} main {
		Scanner sc = new Scanner(System.in);
		int W=sc.nextInt();
		int H=sc.nextInt();
		int x=sc.nextInt();
		int y=sc.nextInt();
		int count=0;
		double res=(double)W*(double)H/2;
		if(2*x==W && 2*y==H) count=1;
		
		System.out.println(String.format("%.6f", res)+" "+count);
	} 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 int count=0; count 0 double res=(double)W*(double)H/2; res (double)W*(double)H/2 (double)W*(double)H (double)W (double)H 2 if(2*x==W && 2*y==H) count=1; 2*x==W && 2*y==H 2*x==W 2*x 2 x W 2*y==H 2*y 2 y H count=1 count 1 System.out.println(String.format("%.6f", res)+" "+count) System.out.println System.out System System.out String.format("%.6f", res)+" "+count String.format("%.6f", res)+" "+count String.format("%.6f", res) String.format String "%.6f" res " " count 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();
		int count=0;
		double res=(double)W*(double)H/2;
		if(2*x==W && 2*y==H) count=1;
		
		System.out.println(String.format("%.6f", res)+" "+count);
	}

} 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();
		int count=0;
		double res=(double)W*(double)H/2;
		if(2*x==W && 2*y==H) count=1;
		
		System.out.println(String.format("%.6f", res)+" "+count);
	}

} 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();
		int count=0;
		double res=(double)W*(double)H/2;
		if(2*x==W && 2*y==H) count=1;
		
		System.out.println(String.format("%.6f", res)+" "+count);
	}

}
