import java.io.FileNotFoundException;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws FileNotFoundException {

		//    	File file = new File("src/in.txt");
		//    	Scanner sc = new Scanner(file);

		Scanner sc = new Scanner(System.in);

		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean flg = false;

		BigDecimal S = BigDecimal.valueOf(W);
		S = S.multiply(BigDecimal.valueOf(H));
		S = S.divide(BigDecimal.valueOf(2), 10,RoundingMode.HALF_UP);
		if(2*x==W&&2*y==H) {
			flg = true;
		}
		System.out.print(S+" ");
		if(flg) {
			System.out.println("1");
		} else {
			System.out.println("0");
		}
	}
} import java.io.FileNotFoundException; FileNotFoundException java.io import java.math.BigDecimal; BigDecimal java.math import java.math.RoundingMode; RoundingMode java.math import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) throws FileNotFoundException {

		//    	File file = new File("src/in.txt");
		//    	Scanner sc = new Scanner(file);

		Scanner sc = new Scanner(System.in);

		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean flg = false;

		BigDecimal S = BigDecimal.valueOf(W);
		S = S.multiply(BigDecimal.valueOf(H));
		S = S.divide(BigDecimal.valueOf(2), 10,RoundingMode.HALF_UP);
		if(2*x==W&&2*y==H) {
			flg = true;
		}
		System.out.print(S+" ");
		if(flg) {
			System.out.println("1");
		} else {
			System.out.println("0");
		}
	}
} Main public static void main(String[] args) throws FileNotFoundException {

		//    	File file = new File("src/in.txt");
		//    	Scanner sc = new Scanner(file);

		Scanner sc = new Scanner(System.in);

		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean flg = false;

		BigDecimal S = BigDecimal.valueOf(W);
		S = S.multiply(BigDecimal.valueOf(H));
		S = S.divide(BigDecimal.valueOf(2), 10,RoundingMode.HALF_UP);
		if(2*x==W&&2*y==H) {
			flg = true;
		}
		System.out.print(S+" ");
		if(flg) {
			System.out.println("1");
		} else {
			System.out.println("0");
		}
	} main {

		//    	File file = new File("src/in.txt");
		//    	Scanner sc = new Scanner(file);

		Scanner sc = new Scanner(System.in);

		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean flg = false;

		BigDecimal S = BigDecimal.valueOf(W);
		S = S.multiply(BigDecimal.valueOf(H));
		S = S.divide(BigDecimal.valueOf(2), 10,RoundingMode.HALF_UP);
		if(2*x==W&&2*y==H) {
			flg = true;
		}
		System.out.print(S+" ");
		if(flg) {
			System.out.println("1");
		} else {
			System.out.println("0");
		}
	} 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 boolean flg = false; flg false BigDecimal S = BigDecimal.valueOf(W); S BigDecimal.valueOf(W) BigDecimal.valueOf BigDecimal W S = S.multiply(BigDecimal.valueOf(H)) S S.multiply(BigDecimal.valueOf(H)) S.multiply S BigDecimal.valueOf(H) BigDecimal.valueOf BigDecimal H S = S.divide(BigDecimal.valueOf(2), 10,RoundingMode.HALF_UP) S S.divide(BigDecimal.valueOf(2), 10,RoundingMode.HALF_UP) S.divide S BigDecimal.valueOf(2) BigDecimal.valueOf BigDecimal 2 10 RoundingMode.HALF_UP RoundingMode RoundingMode.HALF_UP if(2*x==W&&2*y==H) {
			flg = true;
		} 2*x==W&&2*y==H 2*x==W 2*x 2 x W 2*y==H 2*y 2 y H {
			flg = true;
		} flg = true flg true System.out.print(S+" ") System.out.print System.out System System.out S+" " S " " if(flg) {
			System.out.println("1");
		} else {
			System.out.println("0");
		} flg {
			System.out.println("1");
		} System.out.println("1") System.out.println System.out System System.out "1" {
			System.out.println("0");
		} System.out.println("0") System.out.println System.out System System.out "0" String[] args args public class Main {
	public static void main(String[] args) throws FileNotFoundException {

		//    	File file = new File("src/in.txt");
		//    	Scanner sc = new Scanner(file);

		Scanner sc = new Scanner(System.in);

		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean flg = false;

		BigDecimal S = BigDecimal.valueOf(W);
		S = S.multiply(BigDecimal.valueOf(H));
		S = S.divide(BigDecimal.valueOf(2), 10,RoundingMode.HALF_UP);
		if(2*x==W&&2*y==H) {
			flg = true;
		}
		System.out.print(S+" ");
		if(flg) {
			System.out.println("1");
		} else {
			System.out.println("0");
		}
	}
} public class Main {
	public static void main(String[] args) throws FileNotFoundException {

		//    	File file = new File("src/in.txt");
		//    	Scanner sc = new Scanner(file);

		Scanner sc = new Scanner(System.in);

		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean flg = false;

		BigDecimal S = BigDecimal.valueOf(W);
		S = S.multiply(BigDecimal.valueOf(H));
		S = S.divide(BigDecimal.valueOf(2), 10,RoundingMode.HALF_UP);
		if(2*x==W&&2*y==H) {
			flg = true;
		}
		System.out.print(S+" ");
		if(flg) {
			System.out.println("1");
		} else {
			System.out.println("0");
		}
	}
} Main
import java.io.FileNotFoundException;
import java.math.BigDecimal;
import java.math.RoundingMode;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) throws FileNotFoundException {

		//    	File file = new File("src/in.txt");
		//    	Scanner sc = new Scanner(file);

		Scanner sc = new Scanner(System.in);

		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		boolean flg = false;

		BigDecimal S = BigDecimal.valueOf(W);
		S = S.multiply(BigDecimal.valueOf(H));
		S = S.divide(BigDecimal.valueOf(2), 10,RoundingMode.HALF_UP);
		if(2*x==W&&2*y==H) {
			flg = true;
		}
		System.out.print(S+" ");
		if(flg) {
			System.out.println("1");
		} else {
			System.out.println("0");
		}
	}
}