import java.io.*;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String[] data = br.readLine().split(" ");
    long w = Integer.parseInt(data[0]);
    long h = Integer.parseInt(data[1]);
    double x = Integer.parseInt(data[2]);
    double y = Integer.parseInt(data[3]);
    int multipleAns = (x==w/2.0 && y==h/2.0 ? 1 : 0);
    
    System.out.println(w*h/2.0 + " " + multipleAns);
  }
} import java.io.*; io.* java public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String[] data = br.readLine().split(" ");
    long w = Integer.parseInt(data[0]);
    long h = Integer.parseInt(data[1]);
    double x = Integer.parseInt(data[2]);
    double y = Integer.parseInt(data[3]);
    int multipleAns = (x==w/2.0 && y==h/2.0 ? 1 : 0);
    
    System.out.println(w*h/2.0 + " " + multipleAns);
  }
} Main public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String[] data = br.readLine().split(" ");
    long w = Integer.parseInt(data[0]);
    long h = Integer.parseInt(data[1]);
    double x = Integer.parseInt(data[2]);
    double y = Integer.parseInt(data[3]);
    int multipleAns = (x==w/2.0 && y==h/2.0 ? 1 : 0);
    
    System.out.println(w*h/2.0 + " " + multipleAns);
  } main {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String[] data = br.readLine().split(" ");
    long w = Integer.parseInt(data[0]);
    long h = Integer.parseInt(data[1]);
    double x = Integer.parseInt(data[2]);
    double y = Integer.parseInt(data[3]);
    int multipleAns = (x==w/2.0 && y==h/2.0 ? 1 : 0);
    
    System.out.println(w*h/2.0 + " " + multipleAns);
  } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String[] data = br.readLine().split(" "); data br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " long w = Integer.parseInt(data[0]); w Integer.parseInt(data[0]) Integer.parseInt Integer data[0] data 0 long h = Integer.parseInt(data[1]); h Integer.parseInt(data[1]) Integer.parseInt Integer data[1] data 1 double x = Integer.parseInt(data[2]); x Integer.parseInt(data[2]) Integer.parseInt Integer data[2] data 2 double y = Integer.parseInt(data[3]); y Integer.parseInt(data[3]) Integer.parseInt Integer data[3] data 3 int multipleAns = (x==w/2.0 && y==h/2.0 ? 1 : 0); multipleAns (x==w/2.0 && y==h/2.0 ? 1 : 0) x==w/2.0 && y==h/2.0 x==w/2.0 x w/2.0 w 2.0 y==h/2.0 y h/2.0 h 2.0 1 0 System.out.println(w*h/2.0 + " " + multipleAns) System.out.println System.out System System.out w*h/2.0 + " " + multipleAns w*h/2.0 + " " + multipleAns w*h/2.0 w*h w h 2.0 " " multipleAns String[] args args public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String[] data = br.readLine().split(" ");
    long w = Integer.parseInt(data[0]);
    long h = Integer.parseInt(data[1]);
    double x = Integer.parseInt(data[2]);
    double y = Integer.parseInt(data[3]);
    int multipleAns = (x==w/2.0 && y==h/2.0 ? 1 : 0);
    
    System.out.println(w*h/2.0 + " " + multipleAns);
  }
} public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String[] data = br.readLine().split(" ");
    long w = Integer.parseInt(data[0]);
    long h = Integer.parseInt(data[1]);
    double x = Integer.parseInt(data[2]);
    double y = Integer.parseInt(data[3]);
    int multipleAns = (x==w/2.0 && y==h/2.0 ? 1 : 0);
    
    System.out.println(w*h/2.0 + " " + multipleAns);
  }
} Main
import java.io.*;

public class Main {
  public static void main(String[] args) throws IOException {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    
    String[] data = br.readLine().split(" ");
    long w = Integer.parseInt(data[0]);
    long h = Integer.parseInt(data[1]);
    double x = Integer.parseInt(data[2]);
    double y = Integer.parseInt(data[3]);
    int multipleAns = (x==w/2.0 && y==h/2.0 ? 1 : 0);
    
    System.out.println(w*h/2.0 + " " + multipleAns);
  }
}
