import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());

		double area = (double) w * (double) h / 2.0;
		int way = w / 2.0 == x && h / 2.0 == y ? 1 : 0;
		System.out.println(area + " " + way);
	}

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

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());

		double area = (double) w * (double) h / 2.0;
		int way = w / 2.0 == x && h / 2.0 == y ? 1 : 0;
		System.out.println(area + " " + way);
	}

} Main public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());

		double area = (double) w * (double) h / 2.0;
		int way = w / 2.0 == x && h / 2.0 == y ? 1 : 0;
		System.out.println(area + " " + way);
	} main {
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());

		double area = (double) w * (double) h / 2.0;
		int way = w / 2.0 == x && h / 2.0 == y ? 1 : 0;
		System.out.println(area + " " + way);
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int w = Integer.parseInt(sc.next()); w Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int h = Integer.parseInt(sc.next()); h Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double area = (double) w * (double) h / 2.0; area (double) w * (double) h / 2.0 (double) w * (double) h (double) w (double) h 2.0 int way = w / 2.0 == x && h / 2.0 == y ? 1 : 0; way w / 2.0 == x && h / 2.0 == y ? 1 : 0 w / 2.0 == x && h / 2.0 == y w / 2.0 == x w / 2.0 w 2.0 x h / 2.0 == y h / 2.0 h 2.0 y 1 0 System.out.println(area + " " + way) System.out.println System.out System System.out area + " " + way area + " " + way area " " way String[] args args public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());

		double area = (double) w * (double) h / 2.0;
		int way = w / 2.0 == x && h / 2.0 == y ? 1 : 0;
		System.out.println(area + " " + way);
	}

} public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());

		double area = (double) w * (double) h / 2.0;
		int way = w / 2.0 == x && h / 2.0 == y ? 1 : 0;
		System.out.println(area + " " + way);
	}

} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int w = Integer.parseInt(sc.next());
		int h = Integer.parseInt(sc.next());
		int x = Integer.parseInt(sc.next());
		int y = Integer.parseInt(sc.next());

		double area = (double) w * (double) h / 2.0;
		int way = w / 2.0 == x && h / 2.0 == y ? 1 : 0;
		System.out.println(area + " " + way);
	}

}
