import java.util.*;
import static java.lang.Math.*;
import java.math.BigInteger;

public 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 result = w*h/2;
		int flg = 0;
		if(x == w/2 && y == h/2) flg = 1;

		// 出力
		System.out.print(result);
		System.out.print(" " + flg);
		
	}
} import java.util.*; util.* java import static java.lang.Math.*; import static java.lang.Math.*; import static java.lang.Math.*; import java.math.BigInteger; BigInteger java.math public 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 result = w*h/2;
		int flg = 0;
		if(x == w/2 && y == h/2) flg = 1;

		// 出力
		System.out.print(result);
		System.out.print(" " + flg);
		
	}
} 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 result = w*h/2;
		int flg = 0;
		if(x == w/2 && y == h/2) flg = 1;

		// 出力
		System.out.print(result);
		System.out.print(" " + flg);
		
	} main {
		Scanner sc = new Scanner(System.in);
		
		// 入力
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();
			
		// 計算
		double result = w*h/2;
		int flg = 0;
		if(x == w/2 && y == h/2) flg = 1;

		// 出力
		System.out.print(result);
		System.out.print(" " + flg);
		
	} 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 result = w*h/2; result w*h/2 w*h w h 2 int flg = 0; flg 0 if(x == w/2 && y == h/2) flg = 1; x == w/2 && y == h/2 x == w/2 x w/2 w 2 y == h/2 y h/2 h 2 flg = 1 flg 1 System.out.print(result) System.out.print System.out System System.out result System.out.print(" " + flg) System.out.print System.out System System.out " " + flg " " flg String[] args args public 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 result = w*h/2;
		int flg = 0;
		if(x == w/2 && y == h/2) flg = 1;

		// 出力
		System.out.print(result);
		System.out.print(" " + flg);
		
	}
} public 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 result = w*h/2;
		int flg = 0;
		if(x == w/2 && y == h/2) flg = 1;

		// 出力
		System.out.print(result);
		System.out.print(" " + flg);
		
	}
} Main
import java.util.*;
import static java.lang.Math.*;
import java.math.BigInteger;

public 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 result = w*h/2;
		int flg = 0;
		if(x == w/2 && y == h/2) flg = 1;

		// 出力
		System.out.print(result);
		System.out.print(" " + flg);
		
	}
}
