import java.util.*;

class Main{
    final static long mod = 1000000007;
    //
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble(), h = sc.nextDouble(), x = sc.nextDouble(), y = sc.nextDouble();
        System.out.print(w * h / 2);
        if(w / 2 == x && h / 2 == y) System.out.println(" " + 1);
        else System.out.print(" " + 0);
    }
} import java.util.*; util.* java class Main{
    final static long mod = 1000000007;
    //
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble(), h = sc.nextDouble(), x = sc.nextDouble(), y = sc.nextDouble();
        System.out.print(w * h / 2);
        if(w / 2 == x && h / 2 == y) System.out.println(" " + 1);
        else System.out.print(" " + 0);
    }
} Main final static long mod = 1000000007; mod 1000000007 //
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble(), h = sc.nextDouble(), x = sc.nextDouble(), y = sc.nextDouble();
        System.out.print(w * h / 2);
        if(w / 2 == x && h / 2 == y) System.out.println(" " + 1);
        else System.out.print(" " + 0);
    } main {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble(), h = sc.nextDouble(), x = sc.nextDouble(), y = sc.nextDouble();
        System.out.print(w * h / 2);
        if(w / 2 == x && h / 2 == y) System.out.println(" " + 1);
        else System.out.print(" " + 0);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w = sc.nextDouble() w sc.nextDouble() sc.nextDouble sc h = sc.nextDouble() h sc.nextDouble() sc.nextDouble sc x = sc.nextDouble() x sc.nextDouble() sc.nextDouble sc y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc System.out.print(w * h / 2) System.out.print System.out System System.out w * h / 2 w * h w h 2 if(w / 2 == x && h / 2 == y) System.out.println(" " + 1);
        else System.out.print(" " + 0); w / 2 == x && h / 2 == y w / 2 == x w / 2 w 2 x h / 2 == y h / 2 h 2 y System.out.println(" " + 1) System.out.println System.out System System.out " " + 1 " " 1 System.out.print(" " + 0) System.out.print System.out System System.out " " + 0 " " 0 String[] args args
import java.util.*;

class Main{
    final static long mod = 1000000007;
    //
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble(), h = sc.nextDouble(), x = sc.nextDouble(), y = sc.nextDouble();
        System.out.print(w * h / 2);
        if(w / 2 == x && h / 2 == y) System.out.println(" " + 1);
        else System.out.print(" " + 0);
    }
}