import java.util.*;
import java.math.*;
 
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

		double s = w *h;

		System.out.println(s/2);

		if(w<2 || h<2){
			System.out.println(0);
		}else if(w/2 == x  && h/2 == y ){
			System.out.println(1);
		}else{
			System.out.println(0);
		}
	}
} import java.util.*; util.* java import java.math.*; math.* java public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

		double s = w *h;

		System.out.println(s/2);

		if(w<2 || h<2){
			System.out.println(0);
		}else if(w/2 == x  && h/2 == y ){
			System.out.println(1);
		}else{
			System.out.println(0);
		}
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

		double s = w *h;

		System.out.println(s/2);

		if(w<2 || h<2){
			System.out.println(0);
		}else if(w/2 == x  && h/2 == y ){
			System.out.println(1);
		}else{
			System.out.println(0);
		}
	} main {
		Scanner sc = new Scanner(System.in);
		// 整数の入
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

		double s = w *h;

		System.out.println(s/2);

		if(w<2 || h<2){
			System.out.println(0);
		}else if(w/2 == x  && h/2 == y ){
			System.out.println(1);
		}else{
			System.out.println(0);
		}
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w = sc.nextDouble(); w sc.nextDouble() sc.nextDouble sc double h = sc.nextDouble(); h sc.nextDouble() sc.nextDouble sc double x = sc.nextDouble(); x sc.nextDouble() sc.nextDouble sc double y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc double s = w *h; s w *h w h System.out.println(s/2) System.out.println System.out System System.out s/2 s 2 if(w<2 || h<2){
			System.out.println(0);
		}else if(w/2 == x  && h/2 == y ){
			System.out.println(1);
		}else{
			System.out.println(0);
		} w<2 || h<2 w<2 w 2 h<2 h 2 {
			System.out.println(0);
		} System.out.println(0) System.out.println System.out System System.out 0 if(w/2 == x  && h/2 == y ){
			System.out.println(1);
		}else{
			System.out.println(0);
		} w/2 == x  && h/2 == y w/2 == x w/2 w 2 x h/2 == y h/2 h 2 y {
			System.out.println(1);
		} System.out.println(1) System.out.println System.out System System.out 1 {
			System.out.println(0);
		} System.out.println(0) System.out.println System.out System System.out 0 String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

		double s = w *h;

		System.out.println(s/2);

		if(w<2 || h<2){
			System.out.println(0);
		}else if(w/2 == x  && h/2 == y ){
			System.out.println(1);
		}else{
			System.out.println(0);
		}
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

		double s = w *h;

		System.out.println(s/2);

		if(w<2 || h<2){
			System.out.println(0);
		}else if(w/2 == x  && h/2 == y ){
			System.out.println(1);
		}else{
			System.out.println(0);
		}
	}
} Main
import java.util.*;
import java.math.*;
 
public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入
		double w = sc.nextDouble();
		double h = sc.nextDouble();
		double x = sc.nextDouble();
		double y = sc.nextDouble();

		double s = w *h;

		System.out.println(s/2);

		if(w<2 || h<2){
			System.out.println(0);
		}else if(w/2 == x  && h/2 == y ){
			System.out.println(1);
		}else{
			System.out.println(0);
		}
	}
}
