import java.awt.TexturePaint;
import java.awt.event.ComponentAdapter;
import java.io.BufferedReader;
import java.lang.reflect.Array;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double first = Double.parseDouble(sc.next()); 
		double second = Double.parseDouble(sc.next());
		double third = Double.parseDouble(sc.next()); 
		double force = Double.parseDouble(sc.next());
		System.out.print(String.format("%.6f", (first*second/2)));
		System.out.print(" ");
		int flg = 0;
		if(third==(first/2) && force==(second/2)) {
			flg = 1;
		}
		System.out.println(flg);
	}
} import java.awt.TexturePaint; TexturePaint java.awt import java.awt.event.ComponentAdapter; ComponentAdapter java.awt.event import java.io.BufferedReader; BufferedReader java.io import java.lang.reflect.Array; Array java.lang.reflect import java.math.BigInteger; BigInteger java.math import java.util.ArrayList; ArrayList java.util import java.util.Arrays; Arrays java.util import java.util.Collections; Collections java.util import java.util.Comparator; Comparator java.util import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double first = Double.parseDouble(sc.next()); 
		double second = Double.parseDouble(sc.next());
		double third = Double.parseDouble(sc.next()); 
		double force = Double.parseDouble(sc.next());
		System.out.print(String.format("%.6f", (first*second/2)));
		System.out.print(" ");
		int flg = 0;
		if(third==(first/2) && force==(second/2)) {
			flg = 1;
		}
		System.out.println(flg);
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double first = Double.parseDouble(sc.next()); 
		double second = Double.parseDouble(sc.next());
		double third = Double.parseDouble(sc.next()); 
		double force = Double.parseDouble(sc.next());
		System.out.print(String.format("%.6f", (first*second/2)));
		System.out.print(" ");
		int flg = 0;
		if(third==(first/2) && force==(second/2)) {
			flg = 1;
		}
		System.out.println(flg);
	} main {
		Scanner sc = new Scanner(System.in);
		double first = Double.parseDouble(sc.next()); 
		double second = Double.parseDouble(sc.next());
		double third = Double.parseDouble(sc.next()); 
		double force = Double.parseDouble(sc.next());
		System.out.print(String.format("%.6f", (first*second/2)));
		System.out.print(" ");
		int flg = 0;
		if(third==(first/2) && force==(second/2)) {
			flg = 1;
		}
		System.out.println(flg);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double first = Double.parseDouble(sc.next()); first Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc double second = Double.parseDouble(sc.next()); second Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc double third = Double.parseDouble(sc.next()); third Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc double force = Double.parseDouble(sc.next()); force Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc System.out.print(String.format("%.6f", (first*second/2))) System.out.print System.out System System.out String.format("%.6f", (first*second/2)) String.format String "%.6f" (first*second/2) first*second first second 2 System.out.print(" ") System.out.print System.out System System.out " " int flg = 0; flg 0 if(third==(first/2) && force==(second/2)) {
			flg = 1;
		} third==(first/2) && force==(second/2) third==(first/2) third (first/2) first 2 force==(second/2) force (second/2) second 2 {
			flg = 1;
		} flg = 1 flg 1 System.out.println(flg) System.out.println System.out System System.out flg String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double first = Double.parseDouble(sc.next()); 
		double second = Double.parseDouble(sc.next());
		double third = Double.parseDouble(sc.next()); 
		double force = Double.parseDouble(sc.next());
		System.out.print(String.format("%.6f", (first*second/2)));
		System.out.print(" ");
		int flg = 0;
		if(third==(first/2) && force==(second/2)) {
			flg = 1;
		}
		System.out.println(flg);
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double first = Double.parseDouble(sc.next()); 
		double second = Double.parseDouble(sc.next());
		double third = Double.parseDouble(sc.next()); 
		double force = Double.parseDouble(sc.next());
		System.out.print(String.format("%.6f", (first*second/2)));
		System.out.print(" ");
		int flg = 0;
		if(third==(first/2) && force==(second/2)) {
			flg = 1;
		}
		System.out.println(flg);
	}
} Main
import java.awt.TexturePaint;
import java.awt.event.ComponentAdapter;
import java.io.BufferedReader;
import java.lang.reflect.Array;
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		double first = Double.parseDouble(sc.next()); 
		double second = Double.parseDouble(sc.next());
		double third = Double.parseDouble(sc.next()); 
		double force = Double.parseDouble(sc.next());
		System.out.print(String.format("%.6f", (first*second/2)));
		System.out.print(" ");
		int flg = 0;
		if(third==(first/2) && force==(second/2)) {
			flg = 1;
		}
		System.out.println(flg);
	}
}