
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();
		sc.close();
		
		double half = H/2;
		double area = half*W;
		System.out.printf("%.8f",area);
		
		if (x==0 && y==0)
			System.out.println(" "+0);
		
		else if (x==W/2 && y==H/2)
			System.out.println(" "+1);
		else
			System.out.println(" "+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();
		sc.close();
		
		double half = H/2;
		double area = half*W;
		System.out.printf("%.8f",area);
		
		if (x==0 && y==0)
			System.out.println(" "+0);
		
		else if (x==W/2 && y==H/2)
			System.out.println(" "+1);
		else
			System.out.println(" "+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();
		sc.close();
		
		double half = H/2;
		double area = half*W;
		System.out.printf("%.8f",area);
		
		if (x==0 && y==0)
			System.out.println(" "+0);
		
		else if (x==W/2 && y==H/2)
			System.out.println(" "+1);
		else
			System.out.println(" "+0);
	} main {
		Scanner sc = new Scanner(System.in);
		double W = sc.nextInt();
		double H = sc.nextInt();
		double x = sc.nextInt();
		double y = sc.nextInt();
		sc.close();
		
		double half = H/2;
		double area = half*W;
		System.out.printf("%.8f",area);
		
		if (x==0 && y==0)
			System.out.println(" "+0);
		
		else if (x==W/2 && y==H/2)
			System.out.println(" "+1);
		else
			System.out.println(" "+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 sc.close() sc.close sc double half = H/2; half H/2 H 2 double area = half*W; area half*W half W System.out.printf("%.8f",area) System.out.printf System.out System System.out "%.8f" area if (x==0 && y==0)
			System.out.println(" "+0);
		
		else if (x==W/2 && y==H/2)
			System.out.println(" "+1);
		else
			System.out.println(" "+0); x==0 && y==0 x==0 x 0 y==0 y 0 System.out.println(" "+0) System.out.println System.out System System.out " "+0 " " 0 if (x==W/2 && y==H/2)
			System.out.println(" "+1);
		else
			System.out.println(" "+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(" "+1) System.out.println System.out System System.out " "+1 " " 1 System.out.println(" "+0) System.out.println System.out System System.out " "+0 " " 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();
		sc.close();
		
		double half = H/2;
		double area = half*W;
		System.out.printf("%.8f",area);
		
		if (x==0 && y==0)
			System.out.println(" "+0);
		
		else if (x==W/2 && y==H/2)
			System.out.println(" "+1);
		else
			System.out.println(" "+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();
		sc.close();
		
		double half = H/2;
		double area = half*W;
		System.out.printf("%.8f",area);
		
		if (x==0 && y==0)
			System.out.println(" "+0);
		
		else if (x==W/2 && y==H/2)
			System.out.println(" "+1);
		else
			System.out.println(" "+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();
		sc.close();
		
		double half = H/2;
		double area = half*W;
		System.out.printf("%.8f",area);
		
		if (x==0 && y==0)
			System.out.println(" "+0);
		
		else if (x==W/2 && y==H/2)
			System.out.println(" "+1);
		else
			System.out.println(" "+0);
	}

}
