import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    long b = scan.nextLong();
    long c = scan.nextLong();
    long d = scan.nextLong();
    double size = (double) a*b/2;
    if ((c*2 == a)&&(d*2 == b)){
      System.out.println(size +" "+ 1);
    }
    else{
      System.out.println(size +" "+ 0);
    }
  }
} import java.util.*; util.* java public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    long b = scan.nextLong();
    long c = scan.nextLong();
    long d = scan.nextLong();
    double size = (double) a*b/2;
    if ((c*2 == a)&&(d*2 == b)){
      System.out.println(size +" "+ 1);
    }
    else{
      System.out.println(size +" "+ 0);
    }
  }
} Main public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    long b = scan.nextLong();
    long c = scan.nextLong();
    long d = scan.nextLong();
    double size = (double) a*b/2;
    if ((c*2 == a)&&(d*2 == b)){
      System.out.println(size +" "+ 1);
    }
    else{
      System.out.println(size +" "+ 0);
    }
  } main {
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    long b = scan.nextLong();
    long c = scan.nextLong();
    long d = scan.nextLong();
    double size = (double) a*b/2;
    if ((c*2 == a)&&(d*2 == b)){
      System.out.println(size +" "+ 1);
    }
    else{
      System.out.println(size +" "+ 0);
    }
  } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) long a = scan.nextLong(); a scan.nextLong() scan.nextLong scan long b = scan.nextLong(); b scan.nextLong() scan.nextLong scan long c = scan.nextLong(); c scan.nextLong() scan.nextLong scan long d = scan.nextLong(); d scan.nextLong() scan.nextLong scan double size = (double) a*b/2; size (double) a*b/2 (double) a*b (double) a b 2 if ((c*2 == a)&&(d*2 == b)){
      System.out.println(size +" "+ 1);
    }
    else{
      System.out.println(size +" "+ 0);
    } (c*2 == a)&&(d*2 == b) (c*2 == a) c*2 c 2 a (d*2 == b) d*2 d 2 b {
      System.out.println(size +" "+ 1);
    } System.out.println(size +" "+ 1) System.out.println System.out System System.out size +" "+ 1 size +" "+ 1 size " " 1 {
      System.out.println(size +" "+ 0);
    } System.out.println(size +" "+ 0) System.out.println System.out System System.out size +" "+ 0 size +" "+ 0 size " " 0 String[] args args public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    long b = scan.nextLong();
    long c = scan.nextLong();
    long d = scan.nextLong();
    double size = (double) a*b/2;
    if ((c*2 == a)&&(d*2 == b)){
      System.out.println(size +" "+ 1);
    }
    else{
      System.out.println(size +" "+ 0);
    }
  }
} public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    long b = scan.nextLong();
    long c = scan.nextLong();
    long d = scan.nextLong();
    double size = (double) a*b/2;
    if ((c*2 == a)&&(d*2 == b)){
      System.out.println(size +" "+ 1);
    }
    else{
      System.out.println(size +" "+ 0);
    }
  }
} Main
import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    long a = scan.nextLong();
    long b = scan.nextLong();
    long c = scan.nextLong();
    long d = scan.nextLong();
    double size = (double) a*b/2;
    if ((c*2 == a)&&(d*2 == b)){
      System.out.println(size +" "+ 1);
    }
    else{
      System.out.println(size +" "+ 0);
    }
  }
}
