import java.util.Scanner;
public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		
		double ans1 = (w*h)/2;
		if (x==w/2&&y==h/2) {
			System.out.println(ans1 +" "+ 1);
		}
		else
			System.out.println(ans1 +" "+ 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.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		
		double ans1 = (w*h)/2;
		if (x==w/2&&y==h/2) {
			System.out.println(ans1 +" "+ 1);
		}
		else
			System.out.println(ans1 +" "+ 0);
		
				
		
		

	}

} Main public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		
		double ans1 = (w*h)/2;
		if (x==w/2&&y==h/2) {
			System.out.println(ans1 +" "+ 1);
		}
		else
			System.out.println(ans1 +" "+ 0);
		
				
		
		

	} main {

		Scanner sc = new Scanner(System.in);
		
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		
		double ans1 = (w*h)/2;
		if (x==w/2&&y==h/2) {
			System.out.println(ans1 +" "+ 1);
		}
		else
			System.out.println(ans1 +" "+ 0);
		
				
		
		

	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w = sc.nextInt(); w sc.nextInt() sc.nextInt sc double h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double x = sc.nextInt(); x sc.nextInt() sc.nextInt sc double y = sc.nextInt(); y sc.nextInt() sc.nextInt sc double ans1 = (w*h)/2; ans1 (w*h)/2 (w*h) w h 2 if (x==w/2&&y==h/2) {
			System.out.println(ans1 +" "+ 1);
		}
		else
			System.out.println(ans1 +" "+ 0); x==w/2&&y==h/2 x==w/2 x w/2 w 2 y==h/2 y h/2 h 2 {
			System.out.println(ans1 +" "+ 1);
		} System.out.println(ans1 +" "+ 1) System.out.println System.out System System.out ans1 +" "+ 1 ans1 +" "+ 1 ans1 " " 1 System.out.println(ans1 +" "+ 0) System.out.println System.out System System.out ans1 +" "+ 0 ans1 +" "+ 0 ans1 " " 0 String[] args args public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		
		double ans1 = (w*h)/2;
		if (x==w/2&&y==h/2) {
			System.out.println(ans1 +" "+ 1);
		}
		else
			System.out.println(ans1 +" "+ 0);
		
				
		
		

	}

} public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		
		double ans1 = (w*h)/2;
		if (x==w/2&&y==h/2) {
			System.out.println(ans1 +" "+ 1);
		}
		else
			System.out.println(ans1 +" "+ 0);
		
				
		
		

	}

} Main
import java.util.Scanner;
public class Main {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
		double w = sc.nextInt();
		double h = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		
		double ans1 = (w*h)/2;
		if (x==w/2&&y==h/2) {
			System.out.println(ans1 +" "+ 1);
		}
		else
			System.out.println(ans1 +" "+ 0);
		
				
		
		

	}

}
