import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;

public class Main {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int w = sc.nextInt();
		int h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		double area = (double)w * (double)h / 2.0;
		System.out.printf("%f %d\n", area, x*2 == w && y*2 == h ? 1 : 0 );
	}
} import java.util.Collections; Collections java.util import java.util.HashMap; HashMap java.util import java.util.HashSet; HashSet java.util import java.util.Map; Map java.util import java.util.Scanner; Scanner java.util import java.util.Set; Set java.util public class Main {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int w = sc.nextInt();
		int h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		double area = (double)w * (double)h / 2.0;
		System.out.printf("%f %d\n", area, x*2 == w && y*2 == h ? 1 : 0 );
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int w = sc.nextInt();
		int h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		double area = (double)w * (double)h / 2.0;
		System.out.printf("%f %d\n", area, x*2 == w && y*2 == h ? 1 : 0 );
	} main {
		Scanner sc = new Scanner(System.in);
		int w = sc.nextInt();
		int h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		double area = (double)w * (double)h / 2.0;
		System.out.printf("%f %d\n", area, x*2 == w && y*2 == h ? 1 : 0 );
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int w = sc.nextInt(); w sc.nextInt() sc.nextInt sc int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc double area = (double)w * (double)h / 2.0; area (double)w * (double)h / 2.0 (double)w * (double)h (double)w (double)h 2.0 System.out.printf("%f %d\n", area, x*2 == w && y*2 == h ? 1 : 0 ) System.out.printf System.out System System.out "%f %d\n" area x*2 == w && y*2 == h ? 1 : 0 x*2 == w && y*2 == h x*2 == w x*2 x 2 w y*2 == h y*2 y 2 h 1 0 String[] args args public class Main {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int w = sc.nextInt();
		int h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		double area = (double)w * (double)h / 2.0;
		System.out.printf("%f %d\n", area, x*2 == w && y*2 == h ? 1 : 0 );
	}
} public class Main {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int w = sc.nextInt();
		int h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		double area = (double)w * (double)h / 2.0;
		System.out.printf("%f %d\n", area, x*2 == w && y*2 == h ? 1 : 0 );
	}
} Main
import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;

public class Main {

	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int w = sc.nextInt();
		int h = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();

		double area = (double)w * (double)h / 2.0;
		System.out.printf("%f %d\n", area, x*2 == w && y*2 == h ? 1 : 0 );
	}
}
