import java.util.Scanner;

/**
 * 解説通りに実装したソースコード
 */
public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int w = scanner.nextInt();
			int h = scanner.nextInt();
			int x = scanner.nextInt();
			int y = scanner.nextInt();
			System.out.println(((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0));
		}
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int w = scanner.nextInt();
			int h = scanner.nextInt();
			int x = scanner.nextInt();
			int y = scanner.nextInt();
			System.out.println(((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0));
		}
	}
} Main public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int w = scanner.nextInt();
			int h = scanner.nextInt();
			int x = scanner.nextInt();
			int y = scanner.nextInt();
			System.out.println(((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0));
		}
	} main {
		try (Scanner scanner = new Scanner(System.in)) {
			int w = scanner.nextInt();
			int h = scanner.nextInt();
			int x = scanner.nextInt();
			int y = scanner.nextInt();
			System.out.println(((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0));
		}
	} try (Scanner scanner = new Scanner(System.in)) {
			int w = scanner.nextInt();
			int h = scanner.nextInt();
			int x = scanner.nextInt();
			int y = scanner.nextInt();
			System.out.println(((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0));
		} {
			int w = scanner.nextInt();
			int h = scanner.nextInt();
			int x = scanner.nextInt();
			int y = scanner.nextInt();
			System.out.println(((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0));
		} Scanner scanner = new Scanner(System.in) Scanner scanner = new Scanner(System.in) new Scanner(System.in) int w = scanner.nextInt(); w scanner.nextInt() scanner.nextInt scanner int h = scanner.nextInt(); h scanner.nextInt() scanner.nextInt scanner int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int y = scanner.nextInt(); y scanner.nextInt() scanner.nextInt scanner System.out.println(((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0)) System.out.println System.out System System.out ((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0) ((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0) ((double) w) * h / 2.0d ((double) w) * h ((double) w) h 2.0d " " (((x + x == w) && (y + y == h)) ? 1 : 0) ((x + x == w) && (y + y == h)) (x + x == w) x + x x x w (y + y == h) y + y y y h 1 0 String[] args args public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int w = scanner.nextInt();
			int h = scanner.nextInt();
			int x = scanner.nextInt();
			int y = scanner.nextInt();
			System.out.println(((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0));
		}
	}
} public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int w = scanner.nextInt();
			int h = scanner.nextInt();
			int x = scanner.nextInt();
			int y = scanner.nextInt();
			System.out.println(((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0));
		}
	}
} Main
import java.util.Scanner;

/**
 * 解説通りに実装したソースコード
 */
public class Main {

	public static void main(String[] args) {
		try (Scanner scanner = new Scanner(System.in)) {
			int w = scanner.nextInt();
			int h = scanner.nextInt();
			int x = scanner.nextInt();
			int y = scanner.nextInt();
			System.out.println(((double) w) * h / 2.0d + " " + (((x + x == w) && (y + y == h)) ? 1 : 0));
		}
	}
}
