import java.util.*;
 
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
        
        long w = sc.nextInt();
        long h = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        long value = w * h;
        if (x == w / 2 && w % 2 == 0 && y == h / 2 && h % 2 == 0) {
            if (value % 2 == 0) {
                System.out.println(value / 2 + ".0 " + 1);
            } else {
                System.out.println(value / 2 + ".5 " + 1);
            }
        } else {
            if (value % 2 == 0) { 
                System.out.println(value / 2 + ".0 " + 0);
            } else {
                System.out.println(value / 2 + ".5 " + 0);
            }
        }
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
        
        long w = sc.nextInt();
        long h = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        long value = w * h;
        if (x == w / 2 && w % 2 == 0 && y == h / 2 && h % 2 == 0) {
            if (value % 2 == 0) {
                System.out.println(value / 2 + ".0 " + 1);
            } else {
                System.out.println(value / 2 + ".5 " + 1);
            }
        } else {
            if (value % 2 == 0) { 
                System.out.println(value / 2 + ".0 " + 0);
            } else {
                System.out.println(value / 2 + ".5 " + 0);
            }
        }
	}
} Main public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
        
        long w = sc.nextInt();
        long h = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        long value = w * h;
        if (x == w / 2 && w % 2 == 0 && y == h / 2 && h % 2 == 0) {
            if (value % 2 == 0) {
                System.out.println(value / 2 + ".0 " + 1);
            } else {
                System.out.println(value / 2 + ".5 " + 1);
            }
        } else {
            if (value % 2 == 0) { 
                System.out.println(value / 2 + ".0 " + 0);
            } else {
                System.out.println(value / 2 + ".5 " + 0);
            }
        }
	} main {
		Scanner sc = new Scanner(System.in);
        
        long w = sc.nextInt();
        long h = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        long value = w * h;
        if (x == w / 2 && w % 2 == 0 && y == h / 2 && h % 2 == 0) {
            if (value % 2 == 0) {
                System.out.println(value / 2 + ".0 " + 1);
            } else {
                System.out.println(value / 2 + ".5 " + 1);
            }
        } else {
            if (value % 2 == 0) { 
                System.out.println(value / 2 + ".0 " + 0);
            } else {
                System.out.println(value / 2 + ".5 " + 0);
            }
        }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = sc.nextInt(); w sc.nextInt() sc.nextInt sc long 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 long value = w * h; value w * h w h if (x == w / 2 && w % 2 == 0 && y == h / 2 && h % 2 == 0) {
            if (value % 2 == 0) {
                System.out.println(value / 2 + ".0 " + 1);
            } else {
                System.out.println(value / 2 + ".5 " + 1);
            }
        } else {
            if (value % 2 == 0) { 
                System.out.println(value / 2 + ".0 " + 0);
            } else {
                System.out.println(value / 2 + ".5 " + 0);
            }
        } x == w / 2 && w % 2 == 0 && y == h / 2 && h % 2 == 0 y == h / 2 x == w / 2 && w % 2 == 0 && y == h / 2 && h % 2 == 0 x == w / 2 x w / 2 w 2 w % 2 == 0 w % 2 w 2 0 y == h / 2 y h / 2 h 2 h % 2 == 0 h % 2 h 2 0 {
            if (value % 2 == 0) {
                System.out.println(value / 2 + ".0 " + 1);
            } else {
                System.out.println(value / 2 + ".5 " + 1);
            }
        } if (value % 2 == 0) {
                System.out.println(value / 2 + ".0 " + 1);
            } else {
                System.out.println(value / 2 + ".5 " + 1);
            } value % 2 == 0 value % 2 value 2 0 {
                System.out.println(value / 2 + ".0 " + 1);
            } System.out.println(value / 2 + ".0 " + 1) System.out.println System.out System System.out value / 2 + ".0 " + 1 value / 2 + ".0 " + 1 value / 2 value 2 ".0 " 1 {
                System.out.println(value / 2 + ".5 " + 1);
            } System.out.println(value / 2 + ".5 " + 1) System.out.println System.out System System.out value / 2 + ".5 " + 1 value / 2 + ".5 " + 1 value / 2 value 2 ".5 " 1 {
            if (value % 2 == 0) { 
                System.out.println(value / 2 + ".0 " + 0);
            } else {
                System.out.println(value / 2 + ".5 " + 0);
            }
        } if (value % 2 == 0) { 
                System.out.println(value / 2 + ".0 " + 0);
            } else {
                System.out.println(value / 2 + ".5 " + 0);
            } value % 2 == 0 value % 2 value 2 0 { 
                System.out.println(value / 2 + ".0 " + 0);
            } System.out.println(value / 2 + ".0 " + 0) System.out.println System.out System System.out value / 2 + ".0 " + 0 value / 2 + ".0 " + 0 value / 2 value 2 ".0 " 0 {
                System.out.println(value / 2 + ".5 " + 0);
            } System.out.println(value / 2 + ".5 " + 0) System.out.println System.out System System.out value / 2 + ".5 " + 0 value / 2 + ".5 " + 0 value / 2 value 2 ".5 " 0 String[] args args public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
        
        long w = sc.nextInt();
        long h = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        long value = w * h;
        if (x == w / 2 && w % 2 == 0 && y == h / 2 && h % 2 == 0) {
            if (value % 2 == 0) {
                System.out.println(value / 2 + ".0 " + 1);
            } else {
                System.out.println(value / 2 + ".5 " + 1);
            }
        } else {
            if (value % 2 == 0) { 
                System.out.println(value / 2 + ".0 " + 0);
            } else {
                System.out.println(value / 2 + ".5 " + 0);
            }
        }
	}
} public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
        
        long w = sc.nextInt();
        long h = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        long value = w * h;
        if (x == w / 2 && w % 2 == 0 && y == h / 2 && h % 2 == 0) {
            if (value % 2 == 0) {
                System.out.println(value / 2 + ".0 " + 1);
            } else {
                System.out.println(value / 2 + ".5 " + 1);
            }
        } else {
            if (value % 2 == 0) { 
                System.out.println(value / 2 + ".0 " + 0);
            } else {
                System.out.println(value / 2 + ".5 " + 0);
            }
        }
	}
} Main
import java.util.*;
 
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
        
        long w = sc.nextInt();
        long h = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        long value = w * h;
        if (x == w / 2 && w % 2 == 0 && y == h / 2 && h % 2 == 0) {
            if (value % 2 == 0) {
                System.out.println(value / 2 + ".0 " + 1);
            } else {
                System.out.println(value / 2 + ".5 " + 1);
            }
        } else {
            if (value % 2 == 0) { 
                System.out.println(value / 2 + ".0 " + 0);
            } else {
                System.out.println(value / 2 + ".5 " + 0);
            }
        }
	}
}
