import java.util.*;
 
public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double ans = w * h / 2.0;
        System.out.print(ans + " ");
        if(x * 2 == w && y * 2 == h){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
	}
} import java.util.*; util.* java public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double ans = w * h / 2.0;
        System.out.print(ans + " ");
        if(x * 2 == w && y * 2 == h){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
	}
} Main public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double ans = w * h / 2.0;
        System.out.print(ans + " ");
        if(x * 2 == w && y * 2 == h){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
	} main {
		Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double ans = w * h / 2.0;
        System.out.print(ans + " ");
        if(x * 2 == w && y * 2 == h){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
	} Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = sc.nextLong(); w sc.nextLong() sc.nextLong sc long h = sc.nextLong(); h sc.nextLong() sc.nextLong sc long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long y = sc.nextLong(); y sc.nextLong() sc.nextLong sc double ans = w * h / 2.0; ans w * h / 2.0 w * h w h 2.0 System.out.print(ans + " ") System.out.print System.out System System.out ans + " " ans " " if(x * 2 == w && y * 2 == h){
        	System.out.println(1);
        }else{
        	System.out.println(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.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{
		Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double ans = w * h / 2.0;
        System.out.print(ans + " ");
        if(x * 2 == w && y * 2 == h){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
	}
} public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double ans = w * h / 2.0;
        System.out.print(ans + " ");
        if(x * 2 == w && y * 2 == h){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
	}
} Main
import java.util.*;
 
public class Main {
	public static void main(String[] args) throws Exception{
		Scanner sc = new Scanner(System.in);
        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double ans = w * h / 2.0;
        System.out.print(ans + " ");
        if(x * 2 == w && y * 2 == h){
        	System.out.println(1);
        }else{
        	System.out.println(0);
        }
	}
}