import java.util.Scanner;

class Main {
    public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);

	int W, H, x, y;
	W = sc.nextInt();
	H = sc.nextInt();
	x = sc.nextInt();
	y = sc.nextInt();

	int judge;
	if (x + x == W && y + y == H)
	    judge = 1;
	else
	    judge = 0;

	System.out.println((double)(((double)W * (double)H) / 2) + " " + judge);
    }
} import java.util.Scanner; Scanner java.util class Main {
    public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);

	int W, H, x, y;
	W = sc.nextInt();
	H = sc.nextInt();
	x = sc.nextInt();
	y = sc.nextInt();

	int judge;
	if (x + x == W && y + y == H)
	    judge = 1;
	else
	    judge = 0;

	System.out.println((double)(((double)W * (double)H) / 2) + " " + judge);
    }
} Main public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);

	int W, H, x, y;
	W = sc.nextInt();
	H = sc.nextInt();
	x = sc.nextInt();
	y = sc.nextInt();

	int judge;
	if (x + x == W && y + y == H)
	    judge = 1;
	else
	    judge = 0;

	System.out.println((double)(((double)W * (double)H) / 2) + " " + judge);
    } main {
	Scanner sc = new Scanner(System.in);

	int W, H, x, y;
	W = sc.nextInt();
	H = sc.nextInt();
	x = sc.nextInt();
	y = sc.nextInt();

	int judge;
	if (x + x == W && y + y == H)
	    judge = 1;
	else
	    judge = 0;

	System.out.println((double)(((double)W * (double)H) / 2) + " " + judge);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int W W H H x x y; y W = sc.nextInt() W sc.nextInt() sc.nextInt sc H = sc.nextInt() H sc.nextInt() sc.nextInt sc x = sc.nextInt() x sc.nextInt() sc.nextInt sc y = sc.nextInt() y sc.nextInt() sc.nextInt sc int judge; judge if (x + x == W && y + y == H)
	    judge = 1;
	else
	    judge = 0; x + x == W && y + y == H x + x == W x + x x x W y + y == H y + y y y H judge = 1 judge 1 judge = 0 judge 0 System.out.println((double)(((double)W * (double)H) / 2) + " " + judge) System.out.println System.out System System.out (double)(((double)W * (double)H) / 2) + " " + judge (double)(((double)W * (double)H) / 2) + " " + judge (double)(((double)W * (double)H) / 2) ((double)W * (double)H) (double)W (double)H 2 " " judge String[] args args
import java.util.Scanner;

class Main {
    public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);

	int W, H, x, y;
	W = sc.nextInt();
	H = sc.nextInt();
	x = sc.nextInt();
	y = sc.nextInt();

	int judge;
	if (x + x == W && y + y == H)
	    judge = 1;
	else
	    judge = 0;

	System.out.println((double)(((double)W * (double)H) / 2) + " " + judge);
    }
}