import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
        double w = sc.nextInt();
        double h = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double s = 0;
        int cnt = 0;
        
        s = (w * h) / 2;

        if (2 * x == w && 2 * y == h) {
            cnt = 1;
        }

        System.out.println(s+" "+cnt);

		sc.close();
	}
} import java.util.Scanner; Scanner java.util public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
        double w = sc.nextInt();
        double h = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double s = 0;
        int cnt = 0;
        
        s = (w * h) / 2;

        if (2 * x == w && 2 * y == h) {
            cnt = 1;
        }

        System.out.println(s+" "+cnt);

		sc.close();
	}
} Main public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
        double w = sc.nextInt();
        double h = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double s = 0;
        int cnt = 0;
        
        s = (w * h) / 2;

        if (2 * x == w && 2 * y == h) {
            cnt = 1;
        }

        System.out.println(s+" "+cnt);

		sc.close();
	} main {
		Scanner sc = new Scanner((System.in));
        double w = sc.nextInt();
        double h = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double s = 0;
        int cnt = 0;
        
        s = (w * h) / 2;

        if (2 * x == w && 2 * y == h) {
            cnt = 1;
        }

        System.out.println(s+" "+cnt);

		sc.close();
	} Scanner sc = new Scanner((System.in)); sc new Scanner((System.in)) double w = sc.nextInt(); w sc.nextInt() sc.nextInt sc double h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double x = sc.nextInt(); x sc.nextInt() sc.nextInt sc double y = sc.nextInt(); y sc.nextInt() sc.nextInt sc double s = 0; s 0 int cnt = 0; cnt 0 s = (w * h) / 2 s (w * h) / 2 (w * h) w h 2 if (2 * x == w && 2 * y == h) {
            cnt = 1;
        } 2 * x == w && 2 * y == h 2 * x == w 2 * x 2 x w 2 * y == h 2 * y 2 y h {
            cnt = 1;
        } cnt = 1 cnt 1 System.out.println(s+" "+cnt) System.out.println System.out System System.out s+" "+cnt s+" "+cnt s " " cnt sc.close() sc.close sc String[] args args public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
        double w = sc.nextInt();
        double h = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double s = 0;
        int cnt = 0;
        
        s = (w * h) / 2;

        if (2 * x == w && 2 * y == h) {
            cnt = 1;
        }

        System.out.println(s+" "+cnt);

		sc.close();
	}
} public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
        double w = sc.nextInt();
        double h = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double s = 0;
        int cnt = 0;
        
        s = (w * h) / 2;

        if (2 * x == w && 2 * y == h) {
            cnt = 1;
        }

        System.out.println(s+" "+cnt);

		sc.close();
	}
} Main
import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner((System.in));
        double w = sc.nextInt();
        double h = sc.nextInt();
        double x = sc.nextInt();
        double y = sc.nextInt();
        double s = 0;
        int cnt = 0;
        
        s = (w * h) / 2;

        if (2 * x == w && 2 * y == h) {
            cnt = 1;
        }

        System.out.println(s+" "+cnt);

		sc.close();
	}
}
