import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        
        int answer2 = 0;
        
        if (x * 2 == w && y * 2 == h) {
            answer2 = 1;
        }
        
        double answer = (double)w / 2 * h;
        
        // if (x == 0 && y == 0) {
        //     answer2 = 1;
        // } else if (x == w && y == h) {
        //     answer2 = 1;
        // }
        // 899999999999
        // 1000000000
        //  999999999
        
        System.out.println(answer + " " + answer2);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        
        int answer2 = 0;
        
        if (x * 2 == w && y * 2 == h) {
            answer2 = 1;
        }
        
        double answer = (double)w / 2 * h;
        
        // if (x == 0 && y == 0) {
        //     answer2 = 1;
        // } else if (x == w && y == h) {
        //     answer2 = 1;
        // }
        // 899999999999
        // 1000000000
        //  999999999
        
        System.out.println(answer + " " + answer2);
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        
        int answer2 = 0;
        
        if (x * 2 == w && y * 2 == h) {
            answer2 = 1;
        }
        
        double answer = (double)w / 2 * h;
        
        // if (x == 0 && y == 0) {
        //     answer2 = 1;
        // } else if (x == w && y == h) {
        //     answer2 = 1;
        // }
        // 899999999999
        // 1000000000
        //  999999999
        
        System.out.println(answer + " " + answer2);
    } main {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        
        int answer2 = 0;
        
        if (x * 2 == w && y * 2 == h) {
            answer2 = 1;
        }
        
        double answer = (double)w / 2 * h;
        
        // if (x == 0 && y == 0) {
        //     answer2 = 1;
        // } else if (x == w && y == h) {
        //     answer2 = 1;
        // }
        // 899999999999
        // 1000000000
        //  999999999
        
        System.out.println(answer + " " + answer2);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = sc.nextLong(); w sc.nextLong() sc.nextLong sc long h = sc.nextLong(); h sc.nextLong() sc.nextLong sc long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long y = sc.nextLong(); y sc.nextLong() sc.nextLong sc int answer2 = 0; answer2 0 if (x * 2 == w && y * 2 == h) {
            answer2 = 1;
        } x * 2 == w && y * 2 == h x * 2 == w x * 2 x 2 w y * 2 == h y * 2 y 2 h {
            answer2 = 1;
        } answer2 = 1 answer2 1 double answer = (double)w / 2 * h; answer (double)w / 2 * h (double)w / 2 (double)w 2 h System.out.println(answer + " " + answer2) System.out.println System.out System System.out answer + " " + answer2 answer + " " + answer2 answer " " answer2 String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        
        int answer2 = 0;
        
        if (x * 2 == w && y * 2 == h) {
            answer2 = 1;
        }
        
        double answer = (double)w / 2 * h;
        
        // if (x == 0 && y == 0) {
        //     answer2 = 1;
        // } else if (x == w && y == h) {
        //     answer2 = 1;
        // }
        // 899999999999
        // 1000000000
        //  999999999
        
        System.out.println(answer + " " + answer2);
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        
        int answer2 = 0;
        
        if (x * 2 == w && y * 2 == h) {
            answer2 = 1;
        }
        
        double answer = (double)w / 2 * h;
        
        // if (x == 0 && y == 0) {
        //     answer2 = 1;
        // } else if (x == w && y == h) {
        //     answer2 = 1;
        // }
        // 899999999999
        // 1000000000
        //  999999999
        
        System.out.println(answer + " " + answer2);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        
        int answer2 = 0;
        
        if (x * 2 == w && y * 2 == h) {
            answer2 = 1;
        }
        
        double answer = (double)w / 2 * h;
        
        // if (x == 0 && y == 0) {
        //     answer2 = 1;
        // } else if (x == w && y == h) {
        //     answer2 = 1;
        // }
        // 899999999999
        // 1000000000
        //  999999999
        
        System.out.println(answer + " " + answer2);
    }
}
