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