import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();
        
        System.out.print( (double) W * H / 2.0 + " " );
        
        boolean isOK = (double)x == (double) W / 2.0 && (double)y == (double) H / 2.0;
        System.out.println( isOK ? 1 : 0 );
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();
        
        System.out.print( (double) W * H / 2.0 + " " );
        
        boolean isOK = (double)x == (double) W / 2.0 && (double)y == (double) H / 2.0;
        System.out.println( isOK ? 1 : 0 );
    }
} Main public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();
        
        System.out.print( (double) W * H / 2.0 + " " );
        
        boolean isOK = (double)x == (double) W / 2.0 && (double)y == (double) H / 2.0;
        System.out.println( isOK ? 1 : 0 );
    } main {
        
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();
        
        System.out.print( (double) W * H / 2.0 + " " );
        
        boolean isOK = (double)x == (double) W / 2.0 && (double)y == (double) H / 2.0;
        System.out.println( isOK ? 1 : 0 );
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int W = sc.nextInt(); W sc.nextInt() sc.nextInt sc int 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 System.out.print( (double) W * H / 2.0 + " " ) System.out.print System.out System System.out (double) W * H / 2.0 + " " (double) W * H / 2.0 (double) W * H (double) W H 2.0 " " boolean isOK = (double)x == (double) W / 2.0 && (double)y == (double) H / 2.0; isOK (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 System.out.println( isOK ? 1 : 0 ) System.out.println System.out System System.out isOK ? 1 : 0 isOK 1 0 String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();
        
        System.out.print( (double) W * H / 2.0 + " " );
        
        boolean isOK = (double)x == (double) W / 2.0 && (double)y == (double) H / 2.0;
        System.out.println( isOK ? 1 : 0 );
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();
        
        System.out.print( (double) W * H / 2.0 + " " );
        
        boolean isOK = (double)x == (double) W / 2.0 && (double)y == (double) H / 2.0;
        System.out.println( isOK ? 1 : 0 );
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();
        
        System.out.print( (double) W * H / 2.0 + " " );
        
        boolean isOK = (double)x == (double) W / 2.0 && (double)y == (double) H / 2.0;
        System.out.println( isOK ? 1 : 0 );
    }
}
