import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		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());
		
		System.out.print((double)W*(double)H/(double)2);
		if(x/1.0==W/2.0 &&y/1.0==H/2.0) {
			System.out.print(" ");
			System.out.println(1);
		}else {
			System.out.print(" ");
			System.out.println(0);
		}
		
		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {

		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());
		
		System.out.print((double)W*(double)H/(double)2);
		if(x/1.0==W/2.0 &&y/1.0==H/2.0) {
			System.out.print(" ");
			System.out.println(1);
		}else {
			System.out.print(" ");
			System.out.println(0);
		}
		
		sc.close();
	}
} Main public static void main(String[] args) {

		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());
		
		System.out.print((double)W*(double)H/(double)2);
		if(x/1.0==W/2.0 &&y/1.0==H/2.0) {
			System.out.print(" ");
			System.out.println(1);
		}else {
			System.out.print(" ");
			System.out.println(0);
		}
		
		sc.close();
	} main {

		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());
		
		System.out.print((double)W*(double)H/(double)2);
		if(x/1.0==W/2.0 &&y/1.0==H/2.0) {
			System.out.print(" ");
			System.out.println(1);
		}else {
			System.out.print(" ");
			System.out.println(0);
		}
		
		sc.close();
	} 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 System.out.print((double)W*(double)H/(double)2) System.out.print System.out System System.out (double)W*(double)H/(double)2 (double)W*(double)H (double)W (double)H (double)2 if(x/1.0==W/2.0 &&y/1.0==H/2.0) {
			System.out.print(" ");
			System.out.println(1);
		}else {
			System.out.print(" ");
			System.out.println(0);
		} x/1.0==W/2.0 &&y/1.0==H/2.0 x/1.0==W/2.0 x/1.0 x 1.0 W/2.0 W 2.0 y/1.0==H/2.0 y/1.0 y 1.0 H/2.0 H 2.0 {
			System.out.print(" ");
			System.out.println(1);
		} System.out.print(" ") System.out.print System.out System System.out " " System.out.println(1) System.out.println System.out System System.out 1 {
			System.out.print(" ");
			System.out.println(0);
		} System.out.print(" ") System.out.print System.out System System.out " " System.out.println(0) System.out.println System.out System System.out 0 sc.close() sc.close sc String[] args args public class Main {

	public static void main(String[] args) {

		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());
		
		System.out.print((double)W*(double)H/(double)2);
		if(x/1.0==W/2.0 &&y/1.0==H/2.0) {
			System.out.print(" ");
			System.out.println(1);
		}else {
			System.out.print(" ");
			System.out.println(0);
		}
		
		sc.close();
	}
} public class Main {

	public static void main(String[] args) {

		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());
		
		System.out.print((double)W*(double)H/(double)2);
		if(x/1.0==W/2.0 &&y/1.0==H/2.0) {
			System.out.print(" ");
			System.out.println(1);
		}else {
			System.out.print(" ");
			System.out.println(0);
		}
		
		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		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());
		
		System.out.print((double)W*(double)H/(double)2);
		if(x/1.0==W/2.0 &&y/1.0==H/2.0) {
			System.out.print(" ");
			System.out.println(1);
		}else {
			System.out.print(" ");
			System.out.println(0);
		}
		
		sc.close();
	}
}