
import java.util.Scanner;

public class Main {

	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		double w = in.nextInt();
		double h = in.nextInt();
		double x = in.nextInt();
		double y = in.nextInt();

		double s = h * w / 2;

		int p = (x == w / 2 && y == h / 2) ? 1 : 0;

		System.out.println(s);
		System.out.println(p);
	}

} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		double w = in.nextInt();
		double h = in.nextInt();
		double x = in.nextInt();
		double y = in.nextInt();

		double s = h * w / 2;

		int p = (x == w / 2 && y == h / 2) ? 1 : 0;

		System.out.println(s);
		System.out.println(p);
	}

} Main public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		double w = in.nextInt();
		double h = in.nextInt();
		double x = in.nextInt();
		double y = in.nextInt();

		double s = h * w / 2;

		int p = (x == w / 2 && y == h / 2) ? 1 : 0;

		System.out.println(s);
		System.out.println(p);
	} main {
		Scanner in = new Scanner(System.in);
		double w = in.nextInt();
		double h = in.nextInt();
		double x = in.nextInt();
		double y = in.nextInt();

		double s = h * w / 2;

		int p = (x == w / 2 && y == h / 2) ? 1 : 0;

		System.out.println(s);
		System.out.println(p);
	} Scanner in = new Scanner(System.in); in new Scanner(System.in) double w = in.nextInt(); w in.nextInt() in.nextInt in double h = in.nextInt(); h in.nextInt() in.nextInt in double x = in.nextInt(); x in.nextInt() in.nextInt in double y = in.nextInt(); y in.nextInt() in.nextInt in double s = h * w / 2; s h * w / 2 h * w h w 2 int p = (x == w / 2 && y == h / 2) ? 1 : 0; p (x == w / 2 && y == h / 2) ? 1 : 0 (x == w / 2 && y == h / 2) x == w / 2 x w / 2 w 2 y == h / 2 y h / 2 h 2 1 0 System.out.println(s) System.out.println System.out System System.out s System.out.println(p) System.out.println System.out System System.out p String[] args args public class Main {

	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		double w = in.nextInt();
		double h = in.nextInt();
		double x = in.nextInt();
		double y = in.nextInt();

		double s = h * w / 2;

		int p = (x == w / 2 && y == h / 2) ? 1 : 0;

		System.out.println(s);
		System.out.println(p);
	}

} public class Main {

	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		double w = in.nextInt();
		double h = in.nextInt();
		double x = in.nextInt();
		double y = in.nextInt();

		double s = h * w / 2;

		int p = (x == w / 2 && y == h / 2) ? 1 : 0;

		System.out.println(s);
		System.out.println(p);
	}

} Main

import java.util.Scanner;

public class Main {

	public static void main(String[] args){
		Scanner in = new Scanner(System.in);
		double w = in.nextInt();
		double h = in.nextInt();
		double x = in.nextInt();
		double y = in.nextInt();

		double s = h * w / 2;

		int p = (x == w / 2 && y == h / 2) ? 1 : 0;

		System.out.println(s);
		System.out.println(p);
	}

}
