import 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();
		
		int flag = 2*x==W && 2*y==H ? 1 : 0;
		
		System.out.println((double)W*H/2+" "+flag);
	}		
} import java.util.*; util.* java 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();
		
		int flag = 2*x==W && 2*y==H ? 1 : 0;
		
		System.out.println((double)W*H/2+" "+flag);
	}		
} 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();
		
		int flag = 2*x==W && 2*y==H ? 1 : 0;
		
		System.out.println((double)W*H/2+" "+flag);
	} main {
		Scanner sc = new Scanner(System.in);
		
		// 入力
		int W = sc.nextInt();
		int H = sc.nextInt();
		int x = sc.nextInt();
		int y = sc.nextInt();
		
		int flag = 2*x==W && 2*y==H ? 1 : 0;
		
		System.out.println((double)W*H/2+" "+flag);
	} 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 int flag = 2*x==W && 2*y==H ? 1 : 0; flag 2*x==W && 2*y==H ? 1 : 0 2*x==W && 2*y==H 2*x==W 2*x 2 x W 2*y==H 2*y 2 y H 1 0 System.out.println((double)W*H/2+" "+flag) System.out.println System.out System System.out (double)W*H/2+" "+flag (double)W*H/2+" "+flag (double)W*H/2 (double)W*H (double)W H 2 " " flag 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();
		
		int flag = 2*x==W && 2*y==H ? 1 : 0;
		
		System.out.println((double)W*H/2+" "+flag);
	}		
} 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();
		
		int flag = 2*x==W && 2*y==H ? 1 : 0;
		
		System.out.println((double)W*H/2+" "+flag);
	}		
} Main
import 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();
		
		int flag = 2*x==W && 2*y==H ? 1 : 0;
		
		System.out.println((double)W*H/2+" "+flag);
	}		
}
