import java.io.*;
import java.math.*;
import java.util.*;
public class Main {

	public static void main(String[] args) {  
		Scanner input = new Scanner(System.in);
		double W = input.nextDouble();
		double H = input.nextDouble();
		double x = input.nextDouble();
		double y = input.nextDouble();
		double A = W*H;
		A/=2; //It's always possible to split rectangle into 2 equal pieces
		//when divider can have any slope and start point
		x%=W;
		y%=H; //Easier to check if point is on edge
		int ways = 0;
		boolean Vert = false;
		boolean Hor = false;
		if (x==W/2) Vert=true;
		if (y==H/2) Hor=true;
		if (Vert&&Hor) ways++;
		
		System.out.println(A+" "+ways);
	}
} import java.io.*; io.* java import java.math.*; math.* java import java.util.*; util.* java public class Main {

	public static void main(String[] args) {  
		Scanner input = new Scanner(System.in);
		double W = input.nextDouble();
		double H = input.nextDouble();
		double x = input.nextDouble();
		double y = input.nextDouble();
		double A = W*H;
		A/=2; //It's always possible to split rectangle into 2 equal pieces
		//when divider can have any slope and start point
		x%=W;
		y%=H; //Easier to check if point is on edge
		int ways = 0;
		boolean Vert = false;
		boolean Hor = false;
		if (x==W/2) Vert=true;
		if (y==H/2) Hor=true;
		if (Vert&&Hor) ways++;
		
		System.out.println(A+" "+ways);
	}
} Main public static void main(String[] args) {  
		Scanner input = new Scanner(System.in);
		double W = input.nextDouble();
		double H = input.nextDouble();
		double x = input.nextDouble();
		double y = input.nextDouble();
		double A = W*H;
		A/=2; //It's always possible to split rectangle into 2 equal pieces
		//when divider can have any slope and start point
		x%=W;
		y%=H; //Easier to check if point is on edge
		int ways = 0;
		boolean Vert = false;
		boolean Hor = false;
		if (x==W/2) Vert=true;
		if (y==H/2) Hor=true;
		if (Vert&&Hor) ways++;
		
		System.out.println(A+" "+ways);
	} main {  
		Scanner input = new Scanner(System.in);
		double W = input.nextDouble();
		double H = input.nextDouble();
		double x = input.nextDouble();
		double y = input.nextDouble();
		double A = W*H;
		A/=2; //It's always possible to split rectangle into 2 equal pieces
		//when divider can have any slope and start point
		x%=W;
		y%=H; //Easier to check if point is on edge
		int ways = 0;
		boolean Vert = false;
		boolean Hor = false;
		if (x==W/2) Vert=true;
		if (y==H/2) Hor=true;
		if (Vert&&Hor) ways++;
		
		System.out.println(A+" "+ways);
	} Scanner input = new Scanner(System.in); input new Scanner(System.in) double W = input.nextDouble(); W input.nextDouble() input.nextDouble input double H = input.nextDouble(); H input.nextDouble() input.nextDouble input double x = input.nextDouble(); x input.nextDouble() input.nextDouble input double y = input.nextDouble(); y input.nextDouble() input.nextDouble input double A = W*H; A W*H W H A/=2 A 2 x%=W x W y%=H y H int ways = 0; ways 0 boolean Vert = false; Vert false boolean Hor = false; Hor false if (x==W/2) Vert=true; x==W/2 x W/2 W 2 Vert=true Vert true if (y==H/2) Hor=true; y==H/2 y H/2 H 2 Hor=true Hor true if (Vert&&Hor) ways++; Vert&&Hor Vert Hor ways++ ways System.out.println(A+" "+ways) System.out.println System.out System System.out A+" "+ways A+" "+ways A " " ways String[] args args public class Main {

	public static void main(String[] args) {  
		Scanner input = new Scanner(System.in);
		double W = input.nextDouble();
		double H = input.nextDouble();
		double x = input.nextDouble();
		double y = input.nextDouble();
		double A = W*H;
		A/=2; //It's always possible to split rectangle into 2 equal pieces
		//when divider can have any slope and start point
		x%=W;
		y%=H; //Easier to check if point is on edge
		int ways = 0;
		boolean Vert = false;
		boolean Hor = false;
		if (x==W/2) Vert=true;
		if (y==H/2) Hor=true;
		if (Vert&&Hor) ways++;
		
		System.out.println(A+" "+ways);
	}
} public class Main {

	public static void main(String[] args) {  
		Scanner input = new Scanner(System.in);
		double W = input.nextDouble();
		double H = input.nextDouble();
		double x = input.nextDouble();
		double y = input.nextDouble();
		double A = W*H;
		A/=2; //It's always possible to split rectangle into 2 equal pieces
		//when divider can have any slope and start point
		x%=W;
		y%=H; //Easier to check if point is on edge
		int ways = 0;
		boolean Vert = false;
		boolean Hor = false;
		if (x==W/2) Vert=true;
		if (y==H/2) Hor=true;
		if (Vert&&Hor) ways++;
		
		System.out.println(A+" "+ways);
	}
} Main
import java.io.*;
import java.math.*;
import java.util.*;
public class Main {

	public static void main(String[] args) {  
		Scanner input = new Scanner(System.in);
		double W = input.nextDouble();
		double H = input.nextDouble();
		double x = input.nextDouble();
		double y = input.nextDouble();
		double A = W*H;
		A/=2; //It's always possible to split rectangle into 2 equal pieces
		//when divider can have any slope and start point
		x%=W;
		y%=H; //Easier to check if point is on edge
		int ways = 0;
		boolean Vert = false;
		boolean Hor = false;
		if (x==W/2) Vert=true;
		if (y==H/2) Hor=true;
		if (Vert&&Hor) ways++;
		
		System.out.println(A+" "+ways);
	}
}