import java.util.Scanner;

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

		double a,b,c,d;

		Scanner sc = new Scanner(System.in);

		a = sc.nextDouble();
		b = sc.nextDouble();
		c = sc.nextDouble();
		d = sc.nextDouble();

		int count = 0;
		double result = a * b /2;

		if (a/2 == c && b/2 == d) {

			count = 1;

		}

		System.out.println(result + " " + count);

	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {

		double a,b,c,d;

		Scanner sc = new Scanner(System.in);

		a = sc.nextDouble();
		b = sc.nextDouble();
		c = sc.nextDouble();
		d = sc.nextDouble();

		int count = 0;
		double result = a * b /2;

		if (a/2 == c && b/2 == d) {

			count = 1;

		}

		System.out.println(result + " " + count);

	}
} Main public static void main(String[] args) {

		double a,b,c,d;

		Scanner sc = new Scanner(System.in);

		a = sc.nextDouble();
		b = sc.nextDouble();
		c = sc.nextDouble();
		d = sc.nextDouble();

		int count = 0;
		double result = a * b /2;

		if (a/2 == c && b/2 == d) {

			count = 1;

		}

		System.out.println(result + " " + count);

	} main {

		double a,b,c,d;

		Scanner sc = new Scanner(System.in);

		a = sc.nextDouble();
		b = sc.nextDouble();
		c = sc.nextDouble();
		d = sc.nextDouble();

		int count = 0;
		double result = a * b /2;

		if (a/2 == c && b/2 == d) {

			count = 1;

		}

		System.out.println(result + " " + count);

	} double a a b b c c d; d Scanner sc = new Scanner(System.in); sc new Scanner(System.in) a = sc.nextDouble() a sc.nextDouble() sc.nextDouble sc b = sc.nextDouble() b sc.nextDouble() sc.nextDouble sc c = sc.nextDouble() c sc.nextDouble() sc.nextDouble sc d = sc.nextDouble() d sc.nextDouble() sc.nextDouble sc int count = 0; count 0 double result = a * b /2; result a * b /2 a * b a b 2 if (a/2 == c && b/2 == d) {

			count = 1;

		} a/2 == c && b/2 == d a/2 == c a/2 a 2 c b/2 == d b/2 b 2 d {

			count = 1;

		} count = 1 count 1 System.out.println(result + " " + count) System.out.println System.out System System.out result + " " + count result + " " + count result " " count String[] args args public class Main {
	public static void main(String[] args) {

		double a,b,c,d;

		Scanner sc = new Scanner(System.in);

		a = sc.nextDouble();
		b = sc.nextDouble();
		c = sc.nextDouble();
		d = sc.nextDouble();

		int count = 0;
		double result = a * b /2;

		if (a/2 == c && b/2 == d) {

			count = 1;

		}

		System.out.println(result + " " + count);

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

		double a,b,c,d;

		Scanner sc = new Scanner(System.in);

		a = sc.nextDouble();
		b = sc.nextDouble();
		c = sc.nextDouble();
		d = sc.nextDouble();

		int count = 0;
		double result = a * b /2;

		if (a/2 == c && b/2 == d) {

			count = 1;

		}

		System.out.println(result + " " + count);

	}
} Main
import java.util.Scanner;

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

		double a,b,c,d;

		Scanner sc = new Scanner(System.in);

		a = sc.nextDouble();
		b = sc.nextDouble();
		c = sc.nextDouble();
		d = sc.nextDouble();

		int count = 0;
		double result = a * b /2;

		if (a/2 == c && b/2 == d) {

			count = 1;

		}

		System.out.println(result + " " + count);

	}
}
