import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Double;

public class Main {

	public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] strArray = line.split(" ");
		double[] arrayA = new double[strArray.length];
		for(int i = 0; i < strArray.length; i++){
			arrayA[i] = Double.parseDouble(strArray[i]);
		}

		double tmp = (arrayA[0]*arrayA[1])/2.0;
		System.out.print(String.format("%.4f", tmp) + " ");

		if(arrayA[0]/2 == arrayA[2] && arrayA[1]/2 == arrayA[3]){
			System.out.print("1");
		} else {
			System.out.print("0");
		}
	}


	private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.lang.Double; Double java.lang public class Main {

	public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] strArray = line.split(" ");
		double[] arrayA = new double[strArray.length];
		for(int i = 0; i < strArray.length; i++){
			arrayA[i] = Double.parseDouble(strArray[i]);
		}

		double tmp = (arrayA[0]*arrayA[1])/2.0;
		System.out.print(String.format("%.4f", tmp) + " ");

		if(arrayA[0]/2 == arrayA[2] && arrayA[1]/2 == arrayA[3]){
			System.out.print("1");
		} else {
			System.out.print("0");
		}
	}


	private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	}
} Main public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] strArray = line.split(" ");
		double[] arrayA = new double[strArray.length];
		for(int i = 0; i < strArray.length; i++){
			arrayA[i] = Double.parseDouble(strArray[i]);
		}

		double tmp = (arrayA[0]*arrayA[1])/2.0;
		System.out.print(String.format("%.4f", tmp) + " ");

		if(arrayA[0]/2 == arrayA[2] && arrayA[1]/2 == arrayA[3]){
			System.out.print("1");
		} else {
			System.out.print("0");
		}
	} main {
		String line = readLine();
		String[] strArray = line.split(" ");
		double[] arrayA = new double[strArray.length];
		for(int i = 0; i < strArray.length; i++){
			arrayA[i] = Double.parseDouble(strArray[i]);
		}

		double tmp = (arrayA[0]*arrayA[1])/2.0;
		System.out.print(String.format("%.4f", tmp) + " ");

		if(arrayA[0]/2 == arrayA[2] && arrayA[1]/2 == arrayA[3]){
			System.out.print("1");
		} else {
			System.out.print("0");
		}
	} String line = readLine(); line readLine() readLine String[] strArray = line.split(" "); strArray line.split(" ") line.split line " " double[] arrayA = new double[strArray.length]; arrayA new double[strArray.length] strArray.length strArray strArray.length for(int i = 0; i < strArray.length; i++){
			arrayA[i] = Double.parseDouble(strArray[i]);
		} int i = 0; int i = 0; i 0 i < strArray.length i strArray.length strArray strArray.length i++ i++ i {
			arrayA[i] = Double.parseDouble(strArray[i]);
		} {
			arrayA[i] = Double.parseDouble(strArray[i]);
		} arrayA[i] = Double.parseDouble(strArray[i]) arrayA[i] arrayA i Double.parseDouble(strArray[i]) Double.parseDouble Double strArray[i] strArray i double tmp = (arrayA[0]*arrayA[1])/2.0; tmp (arrayA[0]*arrayA[1])/2.0 (arrayA[0]*arrayA[1]) arrayA[0] arrayA 0 arrayA[1] arrayA 1 2.0 System.out.print(String.format("%.4f", tmp) + " ") System.out.print System.out System System.out String.format("%.4f", tmp) + " " String.format("%.4f", tmp) String.format String "%.4f" tmp " " if(arrayA[0]/2 == arrayA[2] && arrayA[1]/2 == arrayA[3]){
			System.out.print("1");
		} else {
			System.out.print("0");
		} arrayA[0]/2 == arrayA[2] && arrayA[1]/2 == arrayA[3] arrayA[0]/2 == arrayA[2] arrayA[0]/2 arrayA[0] arrayA 0 2 arrayA[2] arrayA 2 arrayA[1]/2 == arrayA[3] arrayA[1]/2 arrayA[1] arrayA 1 2 arrayA[3] arrayA 3 {
			System.out.print("1");
		} System.out.print("1") System.out.print System.out System System.out "1" {
			System.out.print("0");
		} System.out.print("0") System.out.print System.out System System.out "0" String[] args args private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	} readLine {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	} BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); br new BufferedReader( new InputStreamReader(System.in)) return br.readLine(); br.readLine() br.readLine br public class Main {

	public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] strArray = line.split(" ");
		double[] arrayA = new double[strArray.length];
		for(int i = 0; i < strArray.length; i++){
			arrayA[i] = Double.parseDouble(strArray[i]);
		}

		double tmp = (arrayA[0]*arrayA[1])/2.0;
		System.out.print(String.format("%.4f", tmp) + " ");

		if(arrayA[0]/2 == arrayA[2] && arrayA[1]/2 == arrayA[3]){
			System.out.print("1");
		} else {
			System.out.print("0");
		}
	}


	private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	}
} public class Main {

	public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] strArray = line.split(" ");
		double[] arrayA = new double[strArray.length];
		for(int i = 0; i < strArray.length; i++){
			arrayA[i] = Double.parseDouble(strArray[i]);
		}

		double tmp = (arrayA[0]*arrayA[1])/2.0;
		System.out.print(String.format("%.4f", tmp) + " ");

		if(arrayA[0]/2 == arrayA[2] && arrayA[1]/2 == arrayA[3]){
			System.out.print("1");
		} else {
			System.out.print("0");
		}
	}


	private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Double;

public class Main {

	public static void main(String[] args) throws Exception {
		String line = readLine();
		String[] strArray = line.split(" ");
		double[] arrayA = new double[strArray.length];
		for(int i = 0; i < strArray.length; i++){
			arrayA[i] = Double.parseDouble(strArray[i]);
		}

		double tmp = (arrayA[0]*arrayA[1])/2.0;
		System.out.print(String.format("%.4f", tmp) + " ");

		if(arrayA[0]/2 == arrayA[2] && arrayA[1]/2 == arrayA[3]){
			System.out.print("1");
		} else {
			System.out.print("0");
		}
	}


	private static String readLine() throws Exception {
		BufferedReader br = new BufferedReader( new InputStreamReader(System.in));
		return br.readLine();
	}
}