import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int w = scan.nextInt();
		int h = scan.nextInt();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		int multi = 0;
		if (x * 2 == w && y * 2 == h) {
			multi = 1;
		}
		
		double ans = (double) w * h / 2;
		
		System.out.printf("%f %d", ans, multi);
		
		scan.close();
	}

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

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int w = scan.nextInt();
		int h = scan.nextInt();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		int multi = 0;
		if (x * 2 == w && y * 2 == h) {
			multi = 1;
		}
		
		double ans = (double) w * h / 2;
		
		System.out.printf("%f %d", ans, multi);
		
		scan.close();
	}

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

		Scanner scan = new Scanner(System.in);
		
		int w = scan.nextInt();
		int h = scan.nextInt();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		int multi = 0;
		if (x * 2 == w && y * 2 == h) {
			multi = 1;
		}
		
		double ans = (double) w * h / 2;
		
		System.out.printf("%f %d", ans, multi);
		
		scan.close();
	} main {

		Scanner scan = new Scanner(System.in);
		
		int w = scan.nextInt();
		int h = scan.nextInt();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		int multi = 0;
		if (x * 2 == w && y * 2 == h) {
			multi = 1;
		}
		
		double ans = (double) w * h / 2;
		
		System.out.printf("%f %d", ans, multi);
		
		scan.close();
	} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int w = scan.nextInt(); w scan.nextInt() scan.nextInt scan int h = scan.nextInt(); h scan.nextInt() scan.nextInt scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan int multi = 0; multi 0 if (x * 2 == w && y * 2 == h) {
			multi = 1;
		} x * 2 == w && y * 2 == h x * 2 == w x * 2 x 2 w y * 2 == h y * 2 y 2 h {
			multi = 1;
		} multi = 1 multi 1 double ans = (double) w * h / 2; ans (double) w * h / 2 (double) w * h (double) w h 2 System.out.printf("%f %d", ans, multi) System.out.printf System.out System System.out "%f %d" ans multi scan.close() scan.close scan String[] args args public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int w = scan.nextInt();
		int h = scan.nextInt();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		int multi = 0;
		if (x * 2 == w && y * 2 == h) {
			multi = 1;
		}
		
		double ans = (double) w * h / 2;
		
		System.out.printf("%f %d", ans, multi);
		
		scan.close();
	}

} public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int w = scan.nextInt();
		int h = scan.nextInt();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		int multi = 0;
		if (x * 2 == w && y * 2 == h) {
			multi = 1;
		}
		
		double ans = (double) w * h / 2;
		
		System.out.printf("%f %d", ans, multi);
		
		scan.close();
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		Scanner scan = new Scanner(System.in);
		
		int w = scan.nextInt();
		int h = scan.nextInt();
		int x = scan.nextInt();
		int y = scan.nextInt();
		
		int multi = 0;
		if (x * 2 == w && y * 2 == h) {
			multi = 1;
		}
		
		double ans = (double) w * h / 2;
		
		System.out.printf("%f %d", ans, multi);
		
		scan.close();
	}

}