import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w=sc.nextInt();
        long h=sc.nextInt();
        long x=sc.nextInt();
        long y=sc.nextInt();
       System.out.println((w*h)*0.5+" "+(w==x*2 && h==y*2 ? 1:0));
    }
} import java.util.Scanner; Scanner 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();
        long x=sc.nextInt();
        long y=sc.nextInt();
       System.out.println((w*h)*0.5+" "+(w==x*2 && h==y*2 ? 1:0));
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w=sc.nextInt();
        long h=sc.nextInt();
        long x=sc.nextInt();
        long y=sc.nextInt();
       System.out.println((w*h)*0.5+" "+(w==x*2 && h==y*2 ? 1:0));
    } main {
        Scanner sc = new Scanner(System.in);
        long w=sc.nextInt();
        long h=sc.nextInt();
        long x=sc.nextInt();
        long y=sc.nextInt();
       System.out.println((w*h)*0.5+" "+(w==x*2 && h==y*2 ? 1: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 long x=sc.nextInt(); x sc.nextInt() sc.nextInt sc long y=sc.nextInt(); y sc.nextInt() sc.nextInt sc System.out.println((w*h)*0.5+" "+(w==x*2 && h==y*2 ? 1:0)) System.out.println System.out System System.out (w*h)*0.5+" "+(w==x*2 && h==y*2 ? 1:0) (w*h)*0.5+" "+(w==x*2 && h==y*2 ? 1:0) (w*h)*0.5 (w*h) w h 0.5 " " (w==x*2 && h==y*2 ? 1:0) w==x*2 && h==y*2 w==x*2 w x*2 x 2 h==y*2 h y*2 y 2 1 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();
        long x=sc.nextInt();
        long y=sc.nextInt();
       System.out.println((w*h)*0.5+" "+(w==x*2 && h==y*2 ? 1:0));
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w=sc.nextInt();
        long h=sc.nextInt();
        long x=sc.nextInt();
        long y=sc.nextInt();
       System.out.println((w*h)*0.5+" "+(w==x*2 && h==y*2 ? 1:0));
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w=sc.nextInt();
        long h=sc.nextInt();
        long x=sc.nextInt();
        long y=sc.nextInt();
       System.out.println((w*h)*0.5+" "+(w==x*2 && h==y*2 ? 1:0));
    }
}
