import java.util.*;
 
class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double W = sc.nextInt();
        double H = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double S = W*H/2;
      
      if(W==x*2&&H==y*2){System.out.print(S+" "+1);}
      else{System.out.print(S+" "+0);}
 
    }
} import java.util.*; util.* java class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double W = sc.nextInt();
        double H = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double S = W*H/2;
      
      if(W==x*2&&H==y*2){System.out.print(S+" "+1);}
      else{System.out.print(S+" "+0);}
 
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double W = sc.nextInt();
        double H = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double S = W*H/2;
      
      if(W==x*2&&H==y*2){System.out.print(S+" "+1);}
      else{System.out.print(S+" "+0);}
 
    } main {
        Scanner sc = new Scanner(System.in);
        double W = sc.nextInt();
        double H = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double S = W*H/2;
      
      if(W==x*2&&H==y*2){System.out.print(S+" "+1);}
      else{System.out.print(S+" "+0);}
 
    } 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 double S = W*H/2; S W*H/2 W*H W H 2 if(W==x*2&&H==y*2){System.out.print(S+" "+1);}
      else{System.out.print(S+" "+0);} W==x*2&&H==y*2 W==x*2 W x*2 x 2 H==y*2 H y*2 y 2 {System.out.print(S+" "+1);} System.out.print(S+" "+1) System.out.print System.out System System.out S+" "+1 S+" "+1 S " " 1 {System.out.print(S+" "+0);} System.out.print(S+" "+0) System.out.print System.out System System.out S+" "+0 S+" "+0 S " " 0 String[] args args
import java.util.*;
 
class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double W = sc.nextInt();
        double H = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double S = W*H/2;
      
      if(W==x*2&&H==y*2){System.out.print(S+" "+1);}
      else{System.out.print(S+" "+0);}
 
    }
}