import java.util.*;
 
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        double ans = (double)(w*h)/2;
        int hukusu = 0;
        if((double)x == (double)w/2.0 && (double)y == (double)h/2.0) {
            hukusu = 1;
        }
        System.out.println(ans+" "+hukusu);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        double ans = (double)(w*h)/2;
        int hukusu = 0;
        if((double)x == (double)w/2.0 && (double)y == (double)h/2.0) {
            hukusu = 1;
        }
        System.out.println(ans+" "+hukusu);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        double ans = (double)(w*h)/2;
        int hukusu = 0;
        if((double)x == (double)w/2.0 && (double)y == (double)h/2.0) {
            hukusu = 1;
        }
        System.out.println(ans+" "+hukusu);
    } main {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        double ans = (double)(w*h)/2;
        int hukusu = 0;
        if((double)x == (double)w/2.0 && (double)y == (double)h/2.0) {
            hukusu = 1;
        }
        System.out.println(ans+" "+hukusu);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = Long.parseLong(sc.next()); w Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc long h = Long.parseLong(sc.next()); h Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc long x = Long.parseLong(sc.next()); x Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc long y = Long.parseLong(sc.next()); y Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc double ans = (double)(w*h)/2; ans (double)(w*h)/2 (double)(w*h) w h 2 int hukusu = 0; hukusu 0 if((double)x == (double)w/2.0 && (double)y == (double)h/2.0) {
            hukusu = 1;
        } (double)x == (double)w/2.0 && (double)y == (double)h/2.0 (double)x == (double)w/2.0 (double)x (double)w/2.0 (double)w 2.0 (double)y == (double)h/2.0 (double)y (double)h/2.0 (double)h 2.0 {
            hukusu = 1;
        } hukusu = 1 hukusu 1 System.out.println(ans+" "+hukusu) System.out.println System.out System System.out ans+" "+hukusu ans+" "+hukusu ans " " hukusu String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        double ans = (double)(w*h)/2;
        int hukusu = 0;
        if((double)x == (double)w/2.0 && (double)y == (double)h/2.0) {
            hukusu = 1;
        }
        System.out.println(ans+" "+hukusu);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        double ans = (double)(w*h)/2;
        int hukusu = 0;
        if((double)x == (double)w/2.0 && (double)y == (double)h/2.0) {
            hukusu = 1;
        }
        System.out.println(ans+" "+hukusu);
    }
} Main
import java.util.*;
 
public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        double ans = (double)(w*h)/2;
        int hukusu = 0;
        if((double)x == (double)w/2.0 && (double)y == (double)h/2.0) {
            hukusu = 1;
        }
        System.out.println(ans+" "+hukusu);
    }
}