import java.util.Scanner;

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

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        double ans = w * h / 2;
        int ans2 = 0;
        if(x * 2 == w && y * 2 == h) ans2 = 1;
        System.out.println(ans + " " + ans2);
    }
}