import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long w = sc.nextLong();
    long h = sc.nextLong();
    long x = sc.nextLong();
    long y = sc.nextLong();
    
    double area = (w*h)/2.0;
    int ju = 0;
    
    if(w == 2*x && h == 2*y) ju = 1;

    System.out.println(area + " " + ju);
    
  }
} import java.util.*; util.* java public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long w = sc.nextLong();
    long h = sc.nextLong();
    long x = sc.nextLong();
    long y = sc.nextLong();
    
    double area = (w*h)/2.0;
    int ju = 0;
    
    if(w == 2*x && h == 2*y) ju = 1;

    System.out.println(area + " " + ju);
    
  }
} Main public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long w = sc.nextLong();
    long h = sc.nextLong();
    long x = sc.nextLong();
    long y = sc.nextLong();
    
    double area = (w*h)/2.0;
    int ju = 0;
    
    if(w == 2*x && h == 2*y) ju = 1;

    System.out.println(area + " " + ju);
    
  } main {
    Scanner sc = new Scanner(System.in);
    long w = sc.nextLong();
    long h = sc.nextLong();
    long x = sc.nextLong();
    long y = sc.nextLong();
    
    double area = (w*h)/2.0;
    int ju = 0;
    
    if(w == 2*x && h == 2*y) ju = 1;

    System.out.println(area + " " + ju);
    
  } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = sc.nextLong(); w sc.nextLong() sc.nextLong sc long h = sc.nextLong(); h sc.nextLong() sc.nextLong sc long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long y = sc.nextLong(); y sc.nextLong() sc.nextLong sc double area = (w*h)/2.0; area (w*h)/2.0 (w*h) w h 2.0 int ju = 0; ju 0 if(w == 2*x && h == 2*y) ju = 1; w == 2*x && h == 2*y w == 2*x w 2*x 2 x h == 2*y h 2*y 2 y ju = 1 ju 1 System.out.println(area + " " + ju) System.out.println System.out System System.out area + " " + ju area + " " + ju area " " ju String[] args args public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long w = sc.nextLong();
    long h = sc.nextLong();
    long x = sc.nextLong();
    long y = sc.nextLong();
    
    double area = (w*h)/2.0;
    int ju = 0;
    
    if(w == 2*x && h == 2*y) ju = 1;

    System.out.println(area + " " + ju);
    
  }
} public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long w = sc.nextLong();
    long h = sc.nextLong();
    long x = sc.nextLong();
    long y = sc.nextLong();
    
    double area = (w*h)/2.0;
    int ju = 0;
    
    if(w == 2*x && h == 2*y) ju = 1;

    System.out.println(area + " " + ju);
    
  }
} Main
import java.util.*;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    long w = sc.nextLong();
    long h = sc.nextLong();
    long x = sc.nextLong();
    long y = sc.nextLong();
    
    double area = (w*h)/2.0;
    int ju = 0;
    
    if(w == 2*x && h == 2*y) ju = 1;

    System.out.println(area + " " + ju);
    
  }
}