import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		//Input
		Scanner sc = new Scanner(System.in);
		int W = Integer.parseInt(sc.next());
		int H = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();

		int count = 0;

		if(x + x == W && y + y == H) {
			count = 1;
		}

		double answer = ((double)W * (double)H) / 2;

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

	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		//Input
		Scanner sc = new Scanner(System.in);
		int W = Integer.parseInt(sc.next());
		int H = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();

		int count = 0;

		if(x + x == W && y + y == H) {
			count = 1;
		}

		double answer = ((double)W * (double)H) / 2;

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

	}

} Main public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		//Input
		Scanner sc = new Scanner(System.in);
		int W = Integer.parseInt(sc.next());
		int H = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();

		int count = 0;

		if(x + x == W && y + y == H) {
			count = 1;
		}

		double answer = ((double)W * (double)H) / 2;

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

	} main {
		// TODO 自動生成されたメソッド・スタブ
		//Input
		Scanner sc = new Scanner(System.in);
		int W = Integer.parseInt(sc.next());
		int H = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();

		int count = 0;

		if(x + x == W && y + y == H) {
			count = 1;
		}

		double answer = ((double)W * (double)H) / 2;

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

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int W = Integer.parseInt(sc.next()); W Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int H = Integer.parseInt(sc.next()); H Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc sc.close() sc.close sc int count = 0; count 0 if(x + x == W && y + y == H) {
			count = 1;
		} x + x == W && y + y == H x + x == W x + x x x W y + y == H y + y y y H {
			count = 1;
		} count = 1 count 1 double answer = ((double)W * (double)H) / 2; answer ((double)W * (double)H) / 2 ((double)W * (double)H) (double)W (double)H 2 System.out.println(answer + " " + count) System.out.println System.out System System.out answer + " " + count answer + " " + count answer " " count String[] args args public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		//Input
		Scanner sc = new Scanner(System.in);
		int W = Integer.parseInt(sc.next());
		int H = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();

		int count = 0;

		if(x + x == W && y + y == H) {
			count = 1;
		}

		double answer = ((double)W * (double)H) / 2;

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

	}

} public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		//Input
		Scanner sc = new Scanner(System.in);
		int W = Integer.parseInt(sc.next());
		int H = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();

		int count = 0;

		if(x + x == W && y + y == H) {
			count = 1;
		}

		double answer = ((double)W * (double)H) / 2;

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

	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		//Input
		Scanner sc = new Scanner(System.in);
		int W = Integer.parseInt(sc.next());
		int H = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		sc.close();

		int count = 0;

		if(x + x == W && y + y == H) {
			count = 1;
		}

		double answer = ((double)W * (double)H) / 2;

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

	}

}
