import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
	    Scanner scanner = new Scanner(System.in);

	    double W = Double.parseDouble(scanner.next());
	    double H = Double.parseDouble(scanner.next());
	    double x = Double.parseDouble(scanner.next());
	    double y = Double.parseDouble(scanner.next());
	    
	    double m = (double)((W * H) / 2);
	    int n = 0;
	    
	    if ((W== 2*x) && (H == 2*y)) {
	    	n=1;
	    }

        System.out.print(m + " " + n);
	}
} import java.util.Scanner; Scanner java.util public class Main {

	public static void main(String[] args) {
	    Scanner scanner = new Scanner(System.in);

	    double W = Double.parseDouble(scanner.next());
	    double H = Double.parseDouble(scanner.next());
	    double x = Double.parseDouble(scanner.next());
	    double y = Double.parseDouble(scanner.next());
	    
	    double m = (double)((W * H) / 2);
	    int n = 0;
	    
	    if ((W== 2*x) && (H == 2*y)) {
	    	n=1;
	    }

        System.out.print(m + " " + n);
	}
} Main public static void main(String[] args) {
	    Scanner scanner = new Scanner(System.in);

	    double W = Double.parseDouble(scanner.next());
	    double H = Double.parseDouble(scanner.next());
	    double x = Double.parseDouble(scanner.next());
	    double y = Double.parseDouble(scanner.next());
	    
	    double m = (double)((W * H) / 2);
	    int n = 0;
	    
	    if ((W== 2*x) && (H == 2*y)) {
	    	n=1;
	    }

        System.out.print(m + " " + n);
	} main {
	    Scanner scanner = new Scanner(System.in);

	    double W = Double.parseDouble(scanner.next());
	    double H = Double.parseDouble(scanner.next());
	    double x = Double.parseDouble(scanner.next());
	    double y = Double.parseDouble(scanner.next());
	    
	    double m = (double)((W * H) / 2);
	    int n = 0;
	    
	    if ((W== 2*x) && (H == 2*y)) {
	    	n=1;
	    }

        System.out.print(m + " " + n);
	} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) double W = Double.parseDouble(scanner.next()); W Double.parseDouble(scanner.next()) Double.parseDouble Double scanner.next() scanner.next scanner double H = Double.parseDouble(scanner.next()); H Double.parseDouble(scanner.next()) Double.parseDouble Double scanner.next() scanner.next scanner double x = Double.parseDouble(scanner.next()); x Double.parseDouble(scanner.next()) Double.parseDouble Double scanner.next() scanner.next scanner double y = Double.parseDouble(scanner.next()); y Double.parseDouble(scanner.next()) Double.parseDouble Double scanner.next() scanner.next scanner double m = (double)((W * H) / 2); m (double)((W * H) / 2) (W * H) W H 2 int n = 0; n 0 if ((W== 2*x) && (H == 2*y)) {
	    	n=1;
	    } (W== 2*x) && (H == 2*y) (W== 2*x) W 2*x 2 x (H == 2*y) H 2*y 2 y {
	    	n=1;
	    } n=1 n 1 System.out.print(m + " " + n) System.out.print System.out System System.out m + " " + n m + " " + n m " " n String[] args args public class Main {

	public static void main(String[] args) {
	    Scanner scanner = new Scanner(System.in);

	    double W = Double.parseDouble(scanner.next());
	    double H = Double.parseDouble(scanner.next());
	    double x = Double.parseDouble(scanner.next());
	    double y = Double.parseDouble(scanner.next());
	    
	    double m = (double)((W * H) / 2);
	    int n = 0;
	    
	    if ((W== 2*x) && (H == 2*y)) {
	    	n=1;
	    }

        System.out.print(m + " " + n);
	}
} public class Main {

	public static void main(String[] args) {
	    Scanner scanner = new Scanner(System.in);

	    double W = Double.parseDouble(scanner.next());
	    double H = Double.parseDouble(scanner.next());
	    double x = Double.parseDouble(scanner.next());
	    double y = Double.parseDouble(scanner.next());
	    
	    double m = (double)((W * H) / 2);
	    int n = 0;
	    
	    if ((W== 2*x) && (H == 2*y)) {
	    	n=1;
	    }

        System.out.print(m + " " + n);
	}
} Main
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
	    Scanner scanner = new Scanner(System.in);

	    double W = Double.parseDouble(scanner.next());
	    double H = Double.parseDouble(scanner.next());
	    double x = Double.parseDouble(scanner.next());
	    double y = Double.parseDouble(scanner.next());
	    
	    double m = (double)((W * H) / 2);
	    int n = 0;
	    
	    if ((W== 2*x) && (H == 2*y)) {
	    	n=1;
	    }

        System.out.print(m + " " + n);
	}
}