import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();
		System.out.print(h * w / 2.0);
		System.out.print(" ");
		if (x == w / 2.0 && y == h / 2.0) System.out.print(1);
		else System.out.print(0);
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();
		System.out.print(h * w / 2.0);
		System.out.print(" ");
		if (x == w / 2.0 && y == h / 2.0) System.out.print(1);
		else System.out.print(0);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();
		System.out.print(h * w / 2.0);
		System.out.print(" ");
		if (x == w / 2.0 && y == h / 2.0) System.out.print(1);
		else System.out.print(0);
	} main {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();
		System.out.print(h * w / 2.0);
		System.out.print(" ");
		if (x == w / 2.0 && y == h / 2.0) System.out.print(1);
		else System.out.print(0);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w = sc.nextDouble(); w sc.nextDouble() sc.nextDouble sc double h = sc.nextDouble(); h sc.nextDouble() sc.nextDouble sc double x = sc.nextDouble(); x sc.nextDouble() sc.nextDouble sc double y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc System.out.print(h * w / 2.0) System.out.print System.out System System.out h * w / 2.0 h * w h w 2.0 System.out.print(" ") System.out.print System.out System System.out " " if (x == w / 2.0 && y == h / 2.0) System.out.print(1);
		else System.out.print(0); x == w / 2.0 && y == h / 2.0 x == w / 2.0 x w / 2.0 w 2.0 y == h / 2.0 y h / 2.0 h 2.0 System.out.print(1) System.out.print System.out System System.out 1 System.out.print(0) System.out.print System.out System System.out 0 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();
		System.out.print(h * w / 2.0);
		System.out.print(" ");
		if (x == w / 2.0 && y == h / 2.0) System.out.print(1);
		else System.out.print(0);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();
		System.out.print(h * w / 2.0);
		System.out.print(" ");
		if (x == w / 2.0 && y == h / 2.0) System.out.print(1);
		else System.out.print(0);
	}
} Main
import java.util.Scanner;

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