import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		long w =  Long.parseLong(W.split(" ")[0]);
		long h =  Long.parseLong(W.split(" ")[1]);
		long x =  Long.parseLong(W.split(" ")[2]);
		long y =  Long.parseLong(W.split(" ")[3]);

		double sq = w*h/2.0;
		System.out.print(sq+" ");

		if(w/2.0==x && h/2.0 == y){
			System.out.println("1");
		}else{
			System.out.println("0");
		}
	}
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {

	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		long w =  Long.parseLong(W.split(" ")[0]);
		long h =  Long.parseLong(W.split(" ")[1]);
		long x =  Long.parseLong(W.split(" ")[2]);
		long y =  Long.parseLong(W.split(" ")[3]);

		double sq = w*h/2.0;
		System.out.print(sq+" ");

		if(w/2.0==x && h/2.0 == y){
			System.out.println("1");
		}else{
			System.out.println("0");
		}
	}
} Main public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		long w =  Long.parseLong(W.split(" ")[0]);
		long h =  Long.parseLong(W.split(" ")[1]);
		long x =  Long.parseLong(W.split(" ")[2]);
		long y =  Long.parseLong(W.split(" ")[3]);

		double sq = w*h/2.0;
		System.out.print(sq+" ");

		if(w/2.0==x && h/2.0 == y){
			System.out.println("1");
		}else{
			System.out.println("0");
		}
	} main {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		long w =  Long.parseLong(W.split(" ")[0]);
		long h =  Long.parseLong(W.split(" ")[1]);
		long x =  Long.parseLong(W.split(" ")[2]);
		long y =  Long.parseLong(W.split(" ")[3]);

		double sq = w*h/2.0;
		System.out.print(sq+" ");

		if(w/2.0==x && h/2.0 == y){
			System.out.println("1");
		}else{
			System.out.println("0");
		}
	} BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); in new BufferedReader(new InputStreamReader(System.in)) String W = in.readLine(); W in.readLine() in.readLine in long w =  Long.parseLong(W.split(" ")[0]); w Long.parseLong(W.split(" ")[0]) Long.parseLong Long W.split(" ")[0] W.split(" ") W.split W " " 0 long h =  Long.parseLong(W.split(" ")[1]); h Long.parseLong(W.split(" ")[1]) Long.parseLong Long W.split(" ")[1] W.split(" ") W.split W " " 1 long x =  Long.parseLong(W.split(" ")[2]); x Long.parseLong(W.split(" ")[2]) Long.parseLong Long W.split(" ")[2] W.split(" ") W.split W " " 2 long y =  Long.parseLong(W.split(" ")[3]); y Long.parseLong(W.split(" ")[3]) Long.parseLong Long W.split(" ")[3] W.split(" ") W.split W " " 3 double sq = w*h/2.0; sq w*h/2.0 w*h w h 2.0 System.out.print(sq+" ") System.out.print System.out System System.out sq+" " sq " " if(w/2.0==x && h/2.0 == y){
			System.out.println("1");
		}else{
			System.out.println("0");
		} w/2.0==x && h/2.0 == y w/2.0==x w/2.0 w 2.0 x h/2.0 == y h/2.0 h 2.0 y {
			System.out.println("1");
		} System.out.println("1") System.out.println System.out System System.out "1" {
			System.out.println("0");
		} System.out.println("0") System.out.println System.out System System.out "0" String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		long w =  Long.parseLong(W.split(" ")[0]);
		long h =  Long.parseLong(W.split(" ")[1]);
		long x =  Long.parseLong(W.split(" ")[2]);
		long y =  Long.parseLong(W.split(" ")[3]);

		double sq = w*h/2.0;
		System.out.print(sq+" ");

		if(w/2.0==x && h/2.0 == y){
			System.out.println("1");
		}else{
			System.out.println("0");
		}
	}
} public class Main {

	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		long w =  Long.parseLong(W.split(" ")[0]);
		long h =  Long.parseLong(W.split(" ")[1]);
		long x =  Long.parseLong(W.split(" ")[2]);
		long y =  Long.parseLong(W.split(" ")[3]);

		double sq = w*h/2.0;
		System.out.print(sq+" ");

		if(w/2.0==x && h/2.0 == y){
			System.out.println("1");
		}else{
			System.out.println("0");
		}
	}
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {

	public static void main(String[] args) throws Exception {
		// TODO 自動生成されたメソッド・スタブ
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		String W = in.readLine();
		long w =  Long.parseLong(W.split(" ")[0]);
		long h =  Long.parseLong(W.split(" ")[1]);
		long x =  Long.parseLong(W.split(" ")[2]);
		long y =  Long.parseLong(W.split(" ")[3]);

		double sq = w*h/2.0;
		System.out.print(sq+" ");

		if(w/2.0==x && h/2.0 == y){
			System.out.println("1");
		}else{
			System.out.println("0");
		}
	}
}
