import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        
        System.out.print((double)(w * h) / 2);

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

        if (x * 2 == w && y * 2 == h) {
            System.out.println(" 1");
        } else {
            System.out.println(" 0");
        }
    }
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        
        System.out.print((double)(w * h) / 2);

        if (x * 2 == w && y * 2 == h) {
            System.out.println(" 1");
        } else {
            System.out.println(" 0");
        }
    } main {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        
        System.out.print((double)(w * h) / 2);

        if (x * 2 == w && y * 2 == h) {
            System.out.println(" 1");
        } else {
            System.out.println(" 0");
        }
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) long w = in.nextLong(); w in.nextLong() in.nextLong in long h = in.nextLong(); h in.nextLong() in.nextLong in long x = in.nextLong(); x in.nextLong() in.nextLong in long y = in.nextLong(); y in.nextLong() in.nextLong in System.out.print((double)(w * h) / 2) System.out.print System.out System System.out (double)(w * h) / 2 (double)(w * h) w h 2 if (x * 2 == w && y * 2 == h) {
            System.out.println(" 1");
        } else {
            System.out.println(" 0");
        } x * 2 == w && y * 2 == h x * 2 == w x * 2 x 2 w y * 2 == h y * 2 y 2 h {
            System.out.println(" 1");
        } System.out.println(" 1") System.out.println System.out System System.out " 1" {
            System.out.println(" 0");
        } System.out.println(" 0") System.out.println System.out System System.out " 0" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        
        System.out.print((double)(w * h) / 2);

        if (x * 2 == w && y * 2 == h) {
            System.out.println(" 1");
        } else {
            System.out.println(" 0");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        
        System.out.print((double)(w * h) / 2);

        if (x * 2 == w && y * 2 == h) {
            System.out.println(" 1");
        } else {
            System.out.println(" 0");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        
        System.out.print((double)(w * h) / 2);

        if (x * 2 == w && y * 2 == h) {
            System.out.println(" 1");
        } else {
            System.out.println(" 0");
        }
    }
}
