import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int w = scanner.nextInt();
        int h = scanner.nextInt();
        int x = scanner.nextInt();
        int y = scanner.nextInt();
        
        if(2*x == w && 2*y == h ) {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1");
        } else {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 0");
        }
    }
    
    
 
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int w = scanner.nextInt();
        int h = scanner.nextInt();
        int x = scanner.nextInt();
        int y = scanner.nextInt();
        
        if(2*x == w && 2*y == h ) {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1");
        } else {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 0");
        }
    }
    
    
 
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int w = scanner.nextInt();
        int h = scanner.nextInt();
        int x = scanner.nextInt();
        int y = scanner.nextInt();
        
        if(2*x == w && 2*y == h ) {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1");
        } else {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 0");
        }
    } main {
        Scanner scanner = new Scanner(System.in);
        int w = scanner.nextInt();
        int h = scanner.nextInt();
        int x = scanner.nextInt();
        int y = scanner.nextInt();
        
        if(2*x == w && 2*y == h ) {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1");
        } else {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 0");
        }
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) int w = scanner.nextInt(); w scanner.nextInt() scanner.nextInt scanner int h = scanner.nextInt(); h scanner.nextInt() scanner.nextInt scanner int x = scanner.nextInt(); x scanner.nextInt() scanner.nextInt scanner int y = scanner.nextInt(); y scanner.nextInt() scanner.nextInt scanner if(2*x == w && 2*y == h ) {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1");
        } else {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 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.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1");
        } System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1") System.out.println System.out System System.out (Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1" (Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2)) Double.valueOf(w)*Double.valueOf(h) Double.valueOf(w) Double.valueOf Double w Double.valueOf(h) Double.valueOf Double h Double.valueOf(2) Double.valueOf Double 2 " 1" {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 0");
        } System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 0") System.out.println System.out System System.out (Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 0" (Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2)) Double.valueOf(w)*Double.valueOf(h) Double.valueOf(w) Double.valueOf Double w Double.valueOf(h) Double.valueOf Double h Double.valueOf(2) Double.valueOf Double 2 " 0" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int w = scanner.nextInt();
        int h = scanner.nextInt();
        int x = scanner.nextInt();
        int y = scanner.nextInt();
        
        if(2*x == w && 2*y == h ) {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1");
        } else {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 0");
        }
    }
    
    
 
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int w = scanner.nextInt();
        int h = scanner.nextInt();
        int x = scanner.nextInt();
        int y = scanner.nextInt();
        
        if(2*x == w && 2*y == h ) {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1");
        } else {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 0");
        }
    }
    
    
 
} Main
import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int w = scanner.nextInt();
        int h = scanner.nextInt();
        int x = scanner.nextInt();
        int y = scanner.nextInt();
        
        if(2*x == w && 2*y == h ) {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 1");
        } else {
        	System.out.println((Double.valueOf(w)*Double.valueOf(h) / Double.valueOf(2))+ " 0");
        }
    }
    
    
 
}