import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextInt();
		long h = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		long area = w * h;
		int multi;

		if (w/2.0 == x && h/2.0 == y ) {
			multi = 1;
		} else {
			multi = 0;
		}

		System.out.println(area / 2.0);

		System.out.println(multi);
	}

} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextInt();
		long h = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		long area = w * h;
		int multi;

		if (w/2.0 == x && h/2.0 == y ) {
			multi = 1;
		} else {
			multi = 0;
		}

		System.out.println(area / 2.0);

		System.out.println(multi);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextInt();
		long h = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		long area = w * h;
		int multi;

		if (w/2.0 == x && h/2.0 == y ) {
			multi = 1;
		} else {
			multi = 0;
		}

		System.out.println(area / 2.0);

		System.out.println(multi);
	} main {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextInt();
		long h = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		long area = w * h;
		int multi;

		if (w/2.0 == x && h/2.0 == y ) {
			multi = 1;
		} else {
			multi = 0;
		}

		System.out.println(area / 2.0);

		System.out.println(multi);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = sc.nextInt(); w sc.nextInt() sc.nextInt sc long h = sc.nextInt(); h sc.nextInt() sc.nextInt sc long x = sc.nextInt(); x sc.nextInt() sc.nextInt sc long y = sc.nextInt(); y sc.nextInt() sc.nextInt sc long area = w * h; area w * h w h int multi; multi if (w/2.0 == x && h/2.0 == y ) {
			multi = 1;
		} else {
			multi = 0;
		} w/2.0 == x && h/2.0 == y w/2.0 == x w/2.0 w 2.0 x h/2.0 == y h/2.0 h 2.0 y {
			multi = 1;
		} multi = 1 multi 1 {
			multi = 0;
		} multi = 0 multi 0 System.out.println(area / 2.0) System.out.println System.out System System.out area / 2.0 area 2.0 System.out.println(multi) System.out.println System.out System System.out multi String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextInt();
		long h = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		long area = w * h;
		int multi;

		if (w/2.0 == x && h/2.0 == y ) {
			multi = 1;
		} else {
			multi = 0;
		}

		System.out.println(area / 2.0);

		System.out.println(multi);
	}

} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextInt();
		long h = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		long area = w * h;
		int multi;

		if (w/2.0 == x && h/2.0 == y ) {
			multi = 1;
		} else {
			multi = 0;
		}

		System.out.println(area / 2.0);

		System.out.println(multi);
	}

} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		long w = sc.nextInt();
		long h = sc.nextInt();
		long x = sc.nextInt();
		long y = sc.nextInt();
		long area = w * h;
		int multi;

		if (w/2.0 == x && h/2.0 == y ) {
			multi = 1;
		} else {
			multi = 0;
		}

		System.out.println(area / 2.0);

		System.out.println(multi);
	}

}
