import java.util.*;
public class Main {
		
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		long W = sc.nextInt(), H = sc.nextInt(), x =sc.nextInt(), y=sc.nextInt();
		sc.close();
		
		double ans1 = (double)(W*H)/2;
		
		int ans2 = 0;
		if(2*x==W&&2*y==H) ans2 = 1;
		
		System.out.println(ans1+" "+ans2);
	}
	
} import java.util.*; util.* java public class Main {
		
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		long W = sc.nextInt(), H = sc.nextInt(), x =sc.nextInt(), y=sc.nextInt();
		sc.close();
		
		double ans1 = (double)(W*H)/2;
		
		int ans2 = 0;
		if(2*x==W&&2*y==H) ans2 = 1;
		
		System.out.println(ans1+" "+ans2);
	}
	
} Main public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		long W = sc.nextInt(), H = sc.nextInt(), x =sc.nextInt(), y=sc.nextInt();
		sc.close();
		
		double ans1 = (double)(W*H)/2;
		
		int ans2 = 0;
		if(2*x==W&&2*y==H) ans2 = 1;
		
		System.out.println(ans1+" "+ans2);
	} main {
		
		Scanner sc = new Scanner(System.in);
		long W = sc.nextInt(), H = sc.nextInt(), x =sc.nextInt(), y=sc.nextInt();
		sc.close();
		
		double ans1 = (double)(W*H)/2;
		
		int ans2 = 0;
		if(2*x==W&&2*y==H) ans2 = 1;
		
		System.out.println(ans1+" "+ans2);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long W = sc.nextInt() W sc.nextInt() sc.nextInt sc H = sc.nextInt() H sc.nextInt() sc.nextInt sc x =sc.nextInt() x sc.nextInt() sc.nextInt sc y=sc.nextInt(); y sc.nextInt() sc.nextInt sc sc.close() sc.close sc double ans1 = (double)(W*H)/2; ans1 (double)(W*H)/2 (double)(W*H) W H 2 int ans2 = 0; ans2 0 if(2*x==W&&2*y==H) ans2 = 1; 2*x==W&&2*y==H 2*x==W 2*x 2 x W 2*y==H 2*y 2 y H ans2 = 1 ans2 1 System.out.println(ans1+" "+ans2) System.out.println System.out System System.out ans1+" "+ans2 ans1+" "+ans2 ans1 " " ans2 String[] args args public class Main {
		
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		long W = sc.nextInt(), H = sc.nextInt(), x =sc.nextInt(), y=sc.nextInt();
		sc.close();
		
		double ans1 = (double)(W*H)/2;
		
		int ans2 = 0;
		if(2*x==W&&2*y==H) ans2 = 1;
		
		System.out.println(ans1+" "+ans2);
	}
	
} public class Main {
		
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		long W = sc.nextInt(), H = sc.nextInt(), x =sc.nextInt(), y=sc.nextInt();
		sc.close();
		
		double ans1 = (double)(W*H)/2;
		
		int ans2 = 0;
		if(2*x==W&&2*y==H) ans2 = 1;
		
		System.out.println(ans1+" "+ans2);
	}
	
} Main
import java.util.*;
public class Main {
		
	public static void main(String[] args) {
		
		Scanner sc = new Scanner(System.in);
		long W = sc.nextInt(), H = sc.nextInt(), x =sc.nextInt(), y=sc.nextInt();
		sc.close();
		
		double ans1 = (double)(W*H)/2;
		
		int ans2 = 0;
		if(2*x==W&&2*y==H) ans2 = 1;
		
		System.out.println(ans1+" "+ans2);
	}
	
}