

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();

		if (x == (double) w / 2 && y == (double) h / 2)
			System.out.println((double) (w * h) / 2 + " " + 1);
		else
			System.out.println((double) (w * h) / 2 + " " + 0);
	}

} 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.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();

		if (x == (double) w / 2 && y == (double) h / 2)
			System.out.println((double) (w * h) / 2 + " " + 1);
		else
			System.out.println((double) (w * h) / 2 + " " + 0);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();

		if (x == (double) w / 2 && y == (double) h / 2)
			System.out.println((double) (w * h) / 2 + " " + 1);
		else
			System.out.println((double) (w * h) / 2 + " " + 0);
	} main {
		Scanner sc = new Scanner(System.in);

		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();

		if (x == (double) w / 2 && y == (double) h / 2)
			System.out.println((double) (w * h) / 2 + " " + 1);
		else
			System.out.println((double) (w * h) / 2 + " " + 0);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = sc.nextLong(); w sc.nextLong() sc.nextLong sc long h = sc.nextLong(); h sc.nextLong() sc.nextLong sc long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long y = sc.nextLong(); y sc.nextLong() sc.nextLong sc if (x == (double) w / 2 && y == (double) h / 2)
			System.out.println((double) (w * h) / 2 + " " + 1);
		else
			System.out.println((double) (w * h) / 2 + " " + 0); x == (double) w / 2 && y == (double) h / 2 x == (double) w / 2 x (double) w / 2 (double) w 2 y == (double) h / 2 y (double) h / 2 (double) h 2 System.out.println((double) (w * h) / 2 + " " + 1) System.out.println System.out System System.out (double) (w * h) / 2 + " " + 1 (double) (w * h) / 2 + " " + 1 (double) (w * h) / 2 (double) (w * h) w h 2 " " 1 System.out.println((double) (w * h) / 2 + " " + 0) System.out.println System.out System System.out (double) (w * h) / 2 + " " + 0 (double) (w * h) / 2 + " " + 0 (double) (w * h) / 2 (double) (w * h) w h 2 " " 0 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();

		if (x == (double) w / 2 && y == (double) h / 2)
			System.out.println((double) (w * h) / 2 + " " + 1);
		else
			System.out.println((double) (w * h) / 2 + " " + 0);
	}

} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();

		if (x == (double) w / 2 && y == (double) h / 2)
			System.out.println((double) (w * h) / 2 + " " + 1);
		else
			System.out.println((double) (w * h) / 2 + " " + 0);
	}

} Main


import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);

		long w = sc.nextLong();
		long h = sc.nextLong();
		long x = sc.nextLong();
		long y = sc.nextLong();

		if (x == (double) w / 2 && y == (double) h / 2)
			System.out.println((double) (w * h) / 2 + " " + 1);
		else
			System.out.println((double) (w * h) / 2 + " " + 0);
	}

}
