import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {

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

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

        Scanner sc = new Scanner(System.in);
        double W = sc.nextInt();
        double H = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        
        int ans = (x == W/2 && y == H/2) ? 1 : 0;
        
        System.out.print(W * H / 2);
        System.out.print(" ");
        System.out.println(ans);
    } main {

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

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

        Scanner sc = new Scanner(System.in);
        double W = sc.nextInt();
        double H = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        
        int ans = (x == W/2 && y == H/2) ? 1 : 0;
        
        System.out.print(W * H / 2);
        System.out.print(" ");
        System.out.println(ans);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {

        Scanner sc = new Scanner(System.in);
        double W = sc.nextInt();
        double H = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        
        int ans = (x == W/2 && y == H/2) ? 1 : 0;
        
        System.out.print(W * H / 2);
        System.out.print(" ");
        System.out.println(ans);
    }
}
