import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;

public class Main {

	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str[] = br.readLine().split(" ");

		long w = Long.parseLong(str[0]);
		long h = Long.parseLong(str[1]);
		long x = Long.parseLong(str[2]);
		long y = Long.parseLong(str[3]);

		double ans = (double) (w * h) / 2;
		System.out.print(ans + " ");

		if (2 * x == w && 2 * y == h) {
			System.out.print("1");
		} else {
			System.out.print("0");
		}
		System.out.println();
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.IOException; IOException java.io import java.io.InputStreamReader; InputStreamReader java.io import java.util.ArrayList; ArrayList java.util public class Main {

	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str[] = br.readLine().split(" ");

		long w = Long.parseLong(str[0]);
		long h = Long.parseLong(str[1]);
		long x = Long.parseLong(str[2]);
		long y = Long.parseLong(str[3]);

		double ans = (double) (w * h) / 2;
		System.out.print(ans + " ");

		if (2 * x == w && 2 * y == h) {
			System.out.print("1");
		} else {
			System.out.print("0");
		}
		System.out.println();
	}
} Main public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str[] = br.readLine().split(" ");

		long w = Long.parseLong(str[0]);
		long h = Long.parseLong(str[1]);
		long x = Long.parseLong(str[2]);
		long y = Long.parseLong(str[3]);

		double ans = (double) (w * h) / 2;
		System.out.print(ans + " ");

		if (2 * x == w && 2 * y == h) {
			System.out.print("1");
		} else {
			System.out.print("0");
		}
		System.out.println();
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str[] = br.readLine().split(" ");

		long w = Long.parseLong(str[0]);
		long h = Long.parseLong(str[1]);
		long x = Long.parseLong(str[2]);
		long y = Long.parseLong(str[3]);

		double ans = (double) (w * h) / 2;
		System.out.print(ans + " ");

		if (2 * x == w && 2 * y == h) {
			System.out.print("1");
		} else {
			System.out.print("0");
		}
		System.out.println();
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) String str[] = br.readLine().split(" "); str br.readLine().split(" ") br.readLine().split br.readLine() br.readLine br " " long w = Long.parseLong(str[0]); w Long.parseLong(str[0]) Long.parseLong Long str[0] str 0 long h = Long.parseLong(str[1]); h Long.parseLong(str[1]) Long.parseLong Long str[1] str 1 long x = Long.parseLong(str[2]); x Long.parseLong(str[2]) Long.parseLong Long str[2] str 2 long y = Long.parseLong(str[3]); y Long.parseLong(str[3]) Long.parseLong Long str[3] str 3 double ans = (double) (w * h) / 2; ans (double) (w * h) / 2 (double) (w * h) w h 2 System.out.print(ans + " ") System.out.print System.out System System.out ans + " " ans " " if (2 * x == w && 2 * y == h) {
			System.out.print("1");
		} else {
			System.out.print("0");
		} 2 * x == w && 2 * y == h 2 * x == w 2 * x 2 x w 2 * y == h 2 * y 2 y h {
			System.out.print("1");
		} System.out.print("1") System.out.print System.out System System.out "1" {
			System.out.print("0");
		} System.out.print("0") System.out.print System.out System System.out "0" System.out.println() System.out.println System.out System System.out String args[] args public class Main {

	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str[] = br.readLine().split(" ");

		long w = Long.parseLong(str[0]);
		long h = Long.parseLong(str[1]);
		long x = Long.parseLong(str[2]);
		long y = Long.parseLong(str[3]);

		double ans = (double) (w * h) / 2;
		System.out.print(ans + " ");

		if (2 * x == w && 2 * y == h) {
			System.out.print("1");
		} else {
			System.out.print("0");
		}
		System.out.println();
	}
} public class Main {

	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str[] = br.readLine().split(" ");

		long w = Long.parseLong(str[0]);
		long h = Long.parseLong(str[1]);
		long x = Long.parseLong(str[2]);
		long y = Long.parseLong(str[3]);

		double ans = (double) (w * h) / 2;
		System.out.print(ans + " ");

		if (2 * x == w && 2 * y == h) {
			System.out.print("1");
		} else {
			System.out.print("0");
		}
		System.out.println();
	}
} Main
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;

public class Main {

	public static void main(String args[]) throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

		String str[] = br.readLine().split(" ");

		long w = Long.parseLong(str[0]);
		long h = Long.parseLong(str[1]);
		long x = Long.parseLong(str[2]);
		long y = Long.parseLong(str[3]);

		double ans = (double) (w * h) / 2;
		System.out.print(ans + " ");

		if (2 * x == w && 2 * y == h) {
			System.out.print("1");
		} else {
			System.out.print("0");
		}
		System.out.println();
	}
}
