import java.util.*;

class Main
{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		
		if(w % 2 == 0 && w / 2 == x && h % 2== 0 && h / 2 == y) {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '1');
		}
		else {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '0');
        }
	}
} import java.util.*; util.* java class Main
{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		
		if(w % 2 == 0 && w / 2 == x && h % 2== 0 && h / 2 == y) {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '1');
		}
		else {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '0');
        }
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		
		if(w % 2 == 0 && w / 2 == x && h % 2== 0 && h / 2 == y) {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '1');
		}
		else {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '0');
        }
	} main {
		Scanner sc = new Scanner(System.in);
		
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		
		if(w % 2 == 0 && w / 2 == x && h % 2== 0 && h / 2 == y) {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '1');
		}
		else {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '0');
        }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int w = Integer.parseInt(sc.next()); w Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int h = Integer.parseInt(sc.next()); h Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc if(w % 2 == 0 && w / 2 == x && h % 2== 0 && h / 2 == y) {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '1');
		}
		else {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '0');
        } w % 2 == 0 && w / 2 == x && h % 2== 0 && h / 2 == y h % 2== 0 w % 2 == 0 && w / 2 == x && h % 2== 0 && h / 2 == y w % 2 == 0 w % 2 w 2 0 w / 2 == x w / 2 w 2 x h % 2== 0 h % 2 h 2 0 h / 2 == y h / 2 h 2 y {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '1');
		} System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '1') System.out.println System.out System System.out Double.toString((double)w * (double)h / 2.0) + ' ' + '1' Double.toString((double)w * (double)h / 2.0) + ' ' + '1' Double.toString((double)w * (double)h / 2.0) Double.toString Double (double)w * (double)h / 2.0 (double)w * (double)h (double)w (double)h 2.0 ' ' '1' {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '0');
        } System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '0') System.out.println System.out System System.out Double.toString((double)w * (double)h / 2.0) + ' ' + '0' Double.toString((double)w * (double)h / 2.0) + ' ' + '0' Double.toString((double)w * (double)h / 2.0) Double.toString Double (double)w * (double)h / 2.0 (double)w * (double)h (double)w (double)h 2.0 ' ' '0' String[] args args
import java.util.*;

class Main
{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());
		
		if(w % 2 == 0 && w / 2 == x && h % 2== 0 && h / 2 == y) {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '1');
		}
		else {
		    System.out.println(Double.toString((double)w * (double)h / 2.0) + ' ' + '0');
        }
	}
}