import java.util.*;

public class Main {
	
	public static void main(String[] args)  {
		Scanner scan = new Scanner(System.in);
		double w=Double.parseDouble(scan.next());
		double h=Double.parseDouble(scan.next());
		double x=Double.parseDouble(scan.next());
		double y=Double.parseDouble(scan.next());
		
		System.out.print(w*h/2+" ");
		
		if (x*2==w&&y*2==h) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
}
}
//end import java.util.*; util.* java public class Main {
	
	public static void main(String[] args)  {
		Scanner scan = new Scanner(System.in);
		double w=Double.parseDouble(scan.next());
		double h=Double.parseDouble(scan.next());
		double x=Double.parseDouble(scan.next());
		double y=Double.parseDouble(scan.next());
		
		System.out.print(w*h/2+" ");
		
		if (x*2==w&&y*2==h) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
}
} Main public static void main(String[] args)  {
		Scanner scan = new Scanner(System.in);
		double w=Double.parseDouble(scan.next());
		double h=Double.parseDouble(scan.next());
		double x=Double.parseDouble(scan.next());
		double y=Double.parseDouble(scan.next());
		
		System.out.print(w*h/2+" ");
		
		if (x*2==w&&y*2==h) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
} main {
		Scanner scan = new Scanner(System.in);
		double w=Double.parseDouble(scan.next());
		double h=Double.parseDouble(scan.next());
		double x=Double.parseDouble(scan.next());
		double y=Double.parseDouble(scan.next());
		
		System.out.print(w*h/2+" ");
		
		if (x*2==w&&y*2==h) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
} Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double w=Double.parseDouble(scan.next()); w Double.parseDouble(scan.next()) Double.parseDouble Double scan.next() scan.next scan double h=Double.parseDouble(scan.next()); h Double.parseDouble(scan.next()) Double.parseDouble Double scan.next() scan.next scan double x=Double.parseDouble(scan.next()); x Double.parseDouble(scan.next()) Double.parseDouble Double scan.next() scan.next scan double y=Double.parseDouble(scan.next()); y Double.parseDouble(scan.next()) Double.parseDouble Double scan.next() scan.next scan System.out.print(w*h/2+" ") System.out.print System.out System System.out w*h/2+" " w*h/2 w*h w h 2 " " if (x*2==w&&y*2==h) {
			System.out.print(1);
		}else {
			System.out.print(0);
		} x*2==w&&y*2==h x*2==w x*2 x 2 w y*2==h y*2 y 2 h {
			System.out.print(1);
		} System.out.print(1) System.out.print System.out System System.out 1 {
			System.out.print(0);
		} System.out.print(0) System.out.print System.out System System.out 0 String[] args args public class Main {
	
	public static void main(String[] args)  {
		Scanner scan = new Scanner(System.in);
		double w=Double.parseDouble(scan.next());
		double h=Double.parseDouble(scan.next());
		double x=Double.parseDouble(scan.next());
		double y=Double.parseDouble(scan.next());
		
		System.out.print(w*h/2+" ");
		
		if (x*2==w&&y*2==h) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
}
} public class Main {
	
	public static void main(String[] args)  {
		Scanner scan = new Scanner(System.in);
		double w=Double.parseDouble(scan.next());
		double h=Double.parseDouble(scan.next());
		double x=Double.parseDouble(scan.next());
		double y=Double.parseDouble(scan.next());
		
		System.out.print(w*h/2+" ");
		
		if (x*2==w&&y*2==h) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
}
} Main
import java.util.*;

public class Main {
	
	public static void main(String[] args)  {
		Scanner scan = new Scanner(System.in);
		double w=Double.parseDouble(scan.next());
		double h=Double.parseDouble(scan.next());
		double x=Double.parseDouble(scan.next());
		double y=Double.parseDouble(scan.next());
		
		System.out.print(w*h/2+" ");
		
		if (x*2==w&&y*2==h) {
			System.out.print(1);
		}else {
			System.out.print(0);
		}
}
}
//end