import java.util.Scanner;

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

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int w = Integer.parseInt(sc.next());
        int h = Integer.parseInt(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        double s = (double)h*w/2.0;
        if(w==2*x && h==2*y){
            System.out.print(s+" "+1);
        }else{
            System.out.print(s+" "+0);
        }
        sc.close();
    }
}