import java.util.Scanner;
 
public class Main{
  public static void main(String[] args){
	Scanner in=new Scanner(System.in);
  	int W=in.nextInt();
    int H=in.nextInt();
    int x=in.nextInt();
    int y=in.nextInt();
    int m;
    double mid_W=(double)W/2;
    double mid_H=(double)H/2;
    if(mid_W==x && mid_H==y)
      m=1;
    else
      m=0;
    double area=(double)W*H/2;
    System.out.println(area+" "+m);
    in.close();
  }
} import java.util.Scanner; Scanner java.util public class Main{
  public static void main(String[] args){
	Scanner in=new Scanner(System.in);
  	int W=in.nextInt();
    int H=in.nextInt();
    int x=in.nextInt();
    int y=in.nextInt();
    int m;
    double mid_W=(double)W/2;
    double mid_H=(double)H/2;
    if(mid_W==x && mid_H==y)
      m=1;
    else
      m=0;
    double area=(double)W*H/2;
    System.out.println(area+" "+m);
    in.close();
  }
} Main public static void main(String[] args){
	Scanner in=new Scanner(System.in);
  	int W=in.nextInt();
    int H=in.nextInt();
    int x=in.nextInt();
    int y=in.nextInt();
    int m;
    double mid_W=(double)W/2;
    double mid_H=(double)H/2;
    if(mid_W==x && mid_H==y)
      m=1;
    else
      m=0;
    double area=(double)W*H/2;
    System.out.println(area+" "+m);
    in.close();
  } main {
	Scanner in=new Scanner(System.in);
  	int W=in.nextInt();
    int H=in.nextInt();
    int x=in.nextInt();
    int y=in.nextInt();
    int m;
    double mid_W=(double)W/2;
    double mid_H=(double)H/2;
    if(mid_W==x && mid_H==y)
      m=1;
    else
      m=0;
    double area=(double)W*H/2;
    System.out.println(area+" "+m);
    in.close();
  } Scanner in=new Scanner(System.in); in new Scanner(System.in) int W=in.nextInt(); W in.nextInt() in.nextInt in int H=in.nextInt(); H in.nextInt() in.nextInt in int x=in.nextInt(); x in.nextInt() in.nextInt in int y=in.nextInt(); y in.nextInt() in.nextInt in int m; m double mid_W=(double)W/2; mid_W (double)W/2 (double)W 2 double mid_H=(double)H/2; mid_H (double)H/2 (double)H 2 if(mid_W==x && mid_H==y)
      m=1;
    else
      m=0; mid_W==x && mid_H==y mid_W==x mid_W x mid_H==y mid_H y m=1 m 1 m=0 m 0 double area=(double)W*H/2; area (double)W*H/2 (double)W*H (double)W H 2 System.out.println(area+" "+m) System.out.println System.out System System.out area+" "+m area+" "+m area " " m in.close() in.close in String[] args args public class Main{
  public static void main(String[] args){
	Scanner in=new Scanner(System.in);
  	int W=in.nextInt();
    int H=in.nextInt();
    int x=in.nextInt();
    int y=in.nextInt();
    int m;
    double mid_W=(double)W/2;
    double mid_H=(double)H/2;
    if(mid_W==x && mid_H==y)
      m=1;
    else
      m=0;
    double area=(double)W*H/2;
    System.out.println(area+" "+m);
    in.close();
  }
} public class Main{
  public static void main(String[] args){
	Scanner in=new Scanner(System.in);
  	int W=in.nextInt();
    int H=in.nextInt();
    int x=in.nextInt();
    int y=in.nextInt();
    int m;
    double mid_W=(double)W/2;
    double mid_H=(double)H/2;
    if(mid_W==x && mid_H==y)
      m=1;
    else
      m=0;
    double area=(double)W*H/2;
    System.out.println(area+" "+m);
    in.close();
  }
} Main
import java.util.Scanner;
 
public class Main{
  public static void main(String[] args){
	Scanner in=new Scanner(System.in);
  	int W=in.nextInt();
    int H=in.nextInt();
    int x=in.nextInt();
    int y=in.nextInt();
    int m;
    double mid_W=(double)W/2;
    double mid_H=(double)H/2;
    if(mid_W==x && mid_H==y)
      m=1;
    else
      m=0;
    double area=(double)W*H/2;
    System.out.println(area+" "+m);
    in.close();
  }
}