import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		solve(w, h, x, y);
		in.close();
	}

	private static void solve(long w, long h, long x, long y) {
		System.out.println(w * h / 2.0);
		if (x * 2 == w && y * 2 == h)
			System.out.println("1");
		else
			System.out.println("0");
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.Arrays; Arrays 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 in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		solve(w, h, x, y);
		in.close();
	}

	private static void solve(long w, long h, long x, long y) {
		System.out.println(w * h / 2.0);
		if (x * 2 == w && y * 2 == h)
			System.out.println("1");
		else
			System.out.println("0");
	}
} Main public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		solve(w, h, x, y);
		in.close();
	} main {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		solve(w, h, x, y);
		in.close();
	} Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); in new Scanner(new BufferedReader(new InputStreamReader(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 solve(w, h, x, y) solve w h x y in.close() in.close in String[] args args private static void solve(long w, long h, long x, long y) {
		System.out.println(w * h / 2.0);
		if (x * 2 == w && y * 2 == h)
			System.out.println("1");
		else
			System.out.println("0");
	} solve {
		System.out.println(w * h / 2.0);
		if (x * 2 == w && y * 2 == h)
			System.out.println("1");
		else
			System.out.println("0");
	} System.out.println(w * h / 2.0) System.out.println System.out System System.out w * h / 2.0 w * h w h 2.0 if (x * 2 == w && y * 2 == h)
			System.out.println("1");
		else
			System.out.println("0"); x * 2 == w && y * 2 == h x * 2 == w x * 2 x 2 w y * 2 == h y * 2 y 2 h System.out.println("1") System.out.println System.out System System.out "1" System.out.println("0") System.out.println System.out System System.out "0" long w w long h h long x x long y y public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		solve(w, h, x, y);
		in.close();
	}

	private static void solve(long w, long h, long x, long y) {
		System.out.println(w * h / 2.0);
		if (x * 2 == w && y * 2 == h)
			System.out.println("1");
		else
			System.out.println("0");
	}
} public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		solve(w, h, x, y);
		in.close();
	}

	private static void solve(long w, long h, long x, long y) {
		System.out.println(w * h / 2.0);
		if (x * 2 == w && y * 2 == h)
			System.out.println("1");
		else
			System.out.println("0");
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.Comparator;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
		int w = in.nextInt();
		int h = in.nextInt();
		int x = in.nextInt();
		int y = in.nextInt();
		solve(w, h, x, y);
		in.close();
	}

	private static void solve(long w, long h, long x, long y) {
		System.out.println(w * h / 2.0);
		if (x * 2 == w && y * 2 == h)
			System.out.println("1");
		else
			System.out.println("0");
	}
}
