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();

	int te=0;
	double ans=w*h/2;
	if(w/2==x&&h/2==y){
		te=1;
	}
System.out.print(ans);
System.out.println(" "+te);
	}} 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();

	int te=0;
	double ans=w*h/2;
	if(w/2==x&&h/2==y){
		te=1;
	}
System.out.print(ans);
System.out.println(" "+te);
	}} 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();

	int te=0;
	double ans=w*h/2;
	if(w/2==x&&h/2==y){
		te=1;
	}
System.out.print(ans);
System.out.println(" "+te);
	} main {
		Scanner sc = new Scanner(System.in);
	double w=sc.nextDouble();
	double h=sc.nextDouble();
	double x=sc.nextDouble();
	double y=sc.nextDouble();

	int te=0;
	double ans=w*h/2;
	if(w/2==x&&h/2==y){
		te=1;
	}
System.out.print(ans);
System.out.println(" "+te);
	} 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 int te=0; te 0 double ans=w*h/2; ans w*h/2 w*h w h 2 if(w/2==x&&h/2==y){
		te=1;
	} w/2==x&&h/2==y w/2==x w/2 w 2 x h/2==y h/2 h 2 y {
		te=1;
	} te=1 te 1 System.out.print(ans) System.out.print System.out System System.out ans System.out.println(" "+te) System.out.println System.out System System.out " "+te " " te 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();

	int te=0;
	double ans=w*h/2;
	if(w/2==x&&h/2==y){
		te=1;
	}
System.out.print(ans);
System.out.println(" "+te);
	}} 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();

	int te=0;
	double ans=w*h/2;
	if(w/2==x&&h/2==y){
		te=1;
	}
System.out.print(ans);
System.out.println(" "+te);
	}} 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();

	int te=0;
	double ans=w*h/2;
	if(w/2==x&&h/2==y){
		te=1;
	}
System.out.print(ans);
System.out.println(" "+te);
	}}