import java.util.*;
public class Main{
	public static void main(String arg[]){
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		int d=sc.nextInt();
		double e=(double)((double)a*b)/2;
		if(a==2*c&&b==2*d){
			System.out.printf("%.6f",e);
		 System.out.println(" 1");
		}
		else{
			System.out.printf("%.6f",e);
	      System.out.println(" 0");
	}
	}
} import java.util.*; util.* java public class Main{
	public static void main(String arg[]){
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		int d=sc.nextInt();
		double e=(double)((double)a*b)/2;
		if(a==2*c&&b==2*d){
			System.out.printf("%.6f",e);
		 System.out.println(" 1");
		}
		else{
			System.out.printf("%.6f",e);
	      System.out.println(" 0");
	}
	}
} Main public static void main(String arg[]){
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		int d=sc.nextInt();
		double e=(double)((double)a*b)/2;
		if(a==2*c&&b==2*d){
			System.out.printf("%.6f",e);
		 System.out.println(" 1");
		}
		else{
			System.out.printf("%.6f",e);
	      System.out.println(" 0");
	}
	} main {
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		int d=sc.nextInt();
		double e=(double)((double)a*b)/2;
		if(a==2*c&&b==2*d){
			System.out.printf("%.6f",e);
		 System.out.println(" 1");
		}
		else{
			System.out.printf("%.6f",e);
	      System.out.println(" 0");
	}
	} Scanner sc=new Scanner(System.in); sc new Scanner(System.in) int a=sc.nextInt(); a sc.nextInt() sc.nextInt sc int b=sc.nextInt(); b sc.nextInt() sc.nextInt sc int c=sc.nextInt(); c sc.nextInt() sc.nextInt sc int d=sc.nextInt(); d sc.nextInt() sc.nextInt sc double e=(double)((double)a*b)/2; e (double)((double)a*b)/2 (double)((double)a*b) (double)a b 2 if(a==2*c&&b==2*d){
			System.out.printf("%.6f",e);
		 System.out.println(" 1");
		}
		else{
			System.out.printf("%.6f",e);
	      System.out.println(" 0");
	} a==2*c&&b==2*d a==2*c a 2*c 2 c b==2*d b 2*d 2 d {
			System.out.printf("%.6f",e);
		 System.out.println(" 1");
		} System.out.printf("%.6f",e) System.out.printf System.out System System.out "%.6f" e System.out.println(" 1") System.out.println System.out System System.out " 1" {
			System.out.printf("%.6f",e);
	      System.out.println(" 0");
	} System.out.printf("%.6f",e) System.out.printf System.out System System.out "%.6f" e System.out.println(" 0") System.out.println System.out System System.out " 0" String arg[] arg public class Main{
	public static void main(String arg[]){
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		int d=sc.nextInt();
		double e=(double)((double)a*b)/2;
		if(a==2*c&&b==2*d){
			System.out.printf("%.6f",e);
		 System.out.println(" 1");
		}
		else{
			System.out.printf("%.6f",e);
	      System.out.println(" 0");
	}
	}
} public class Main{
	public static void main(String arg[]){
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		int d=sc.nextInt();
		double e=(double)((double)a*b)/2;
		if(a==2*c&&b==2*d){
			System.out.printf("%.6f",e);
		 System.out.println(" 1");
		}
		else{
			System.out.printf("%.6f",e);
	      System.out.println(" 0");
	}
	}
} Main
import java.util.*;
public class Main{
	public static void main(String arg[]){
		Scanner sc=new Scanner(System.in);
		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();
		int d=sc.nextInt();
		double e=(double)((double)a*b)/2;
		if(a==2*c&&b==2*d){
			System.out.printf("%.6f",e);
		 System.out.println(" 1");
		}
		else{
			System.out.printf("%.6f",e);
	      System.out.println(" 0");
	}
	}
}