import java.util.*;

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

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