import java.util.Scanner;

public class Main{

	public static void main(String... args){
		Scanner scan = new Scanner(System.in);
		
		// input
		long width = scan.nextLong();
		long height = scan.nextLong();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		double area = (width * height) / 2.0;
		System.out.print(area + " ");
		
		if(x + x == width && y + y == height){
			System.out.println("1");
		} else {
			System.out.println("0");
		}
		
		
	}
} import java.util.Scanner; Scanner java.util public class Main{

	public static void main(String... args){
		Scanner scan = new Scanner(System.in);
		
		// input
		long width = scan.nextLong();
		long height = scan.nextLong();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		double area = (width * height) / 2.0;
		System.out.print(area + " ");
		
		if(x + x == width && y + y == height){
			System.out.println("1");
		} else {
			System.out.println("0");
		}
		
		
	}
} Main public static void main(String... args){
		Scanner scan = new Scanner(System.in);
		
		// input
		long width = scan.nextLong();
		long height = scan.nextLong();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		double area = (width * height) / 2.0;
		System.out.print(area + " ");
		
		if(x + x == width && y + y == height){
			System.out.println("1");
		} else {
			System.out.println("0");
		}
		
		
	} main {
		Scanner scan = new Scanner(System.in);
		
		// input
		long width = scan.nextLong();
		long height = scan.nextLong();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		double area = (width * height) / 2.0;
		System.out.print(area + " ");
		
		if(x + x == width && y + y == height){
			System.out.println("1");
		} else {
			System.out.println("0");
		}
		
		
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) long width = scan.nextLong(); width scan.nextLong() scan.nextLong scan long height = scan.nextLong(); height scan.nextLong() scan.nextLong scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan double area = (width * height) / 2.0; area (width * height) / 2.0 (width * height) width height 2.0 System.out.print(area + " ") System.out.print System.out System System.out area + " " area " " if(x + x == width && y + y == height){
			System.out.println("1");
		} else {
			System.out.println("0");
		} x + x == width && y + y == height x + x == width x + x x x width y + y == height y + y y y height {
			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){
		Scanner scan = new Scanner(System.in);
		
		// input
		long width = scan.nextLong();
		long height = scan.nextLong();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		double area = (width * height) / 2.0;
		System.out.print(area + " ");
		
		if(x + x == width && y + y == height){
			System.out.println("1");
		} else {
			System.out.println("0");
		}
		
		
	}
} public class Main{

	public static void main(String... args){
		Scanner scan = new Scanner(System.in);
		
		// input
		long width = scan.nextLong();
		long height = scan.nextLong();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		double area = (width * height) / 2.0;
		System.out.print(area + " ");
		
		if(x + x == width && y + y == height){
			System.out.println("1");
		} else {
			System.out.println("0");
		}
		
		
	}
} Main
import java.util.Scanner;

public class Main{

	public static void main(String... args){
		Scanner scan = new Scanner(System.in);
		
		// input
		long width = scan.nextLong();
		long height = scan.nextLong();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		double area = (width * height) / 2.0;
		System.out.print(area + " ");
		
		if(x + x == width && y + y == height){
			System.out.println("1");
		} else {
			System.out.println("0");
		}
		
		
	}
}