import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        double W = scan.nextDouble();
        double H = scan.nextDouble();
        double x = scan.nextDouble();
        double y = scan.nextDouble();
        int ans = 0;
        if (W / 2 == x && H / 2 == y) ans = 1;
        System.out.printf("%.10f %d", W * H / 2, ans);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        double W = scan.nextDouble();
        double H = scan.nextDouble();
        double x = scan.nextDouble();
        double y = scan.nextDouble();
        int ans = 0;
        if (W / 2 == x && H / 2 == y) ans = 1;
        System.out.printf("%.10f %d", W * H / 2, ans);
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        double W = scan.nextDouble();
        double H = scan.nextDouble();
        double x = scan.nextDouble();
        double y = scan.nextDouble();
        int ans = 0;
        if (W / 2 == x && H / 2 == y) ans = 1;
        System.out.printf("%.10f %d", W * H / 2, ans);
    } main {
        Scanner scan = new Scanner(System.in);
        double W = scan.nextDouble();
        double H = scan.nextDouble();
        double x = scan.nextDouble();
        double y = scan.nextDouble();
        int ans = 0;
        if (W / 2 == x && H / 2 == y) ans = 1;
        System.out.printf("%.10f %d", W * H / 2, ans);
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) double W = scan.nextDouble(); W scan.nextDouble() scan.nextDouble scan double H = scan.nextDouble(); H scan.nextDouble() scan.nextDouble scan double x = scan.nextDouble(); x scan.nextDouble() scan.nextDouble scan double y = scan.nextDouble(); y scan.nextDouble() scan.nextDouble scan int ans = 0; ans 0 if (W / 2 == x && H / 2 == y) ans = 1; W / 2 == x && H / 2 == y W / 2 == x W / 2 W 2 x H / 2 == y H / 2 H 2 y ans = 1 ans 1 System.out.printf("%.10f %d", W * H / 2, ans) System.out.printf System.out System System.out "%.10f %d" W * H / 2 W * H W H 2 ans String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        double W = scan.nextDouble();
        double H = scan.nextDouble();
        double x = scan.nextDouble();
        double y = scan.nextDouble();
        int ans = 0;
        if (W / 2 == x && H / 2 == y) ans = 1;
        System.out.printf("%.10f %d", W * H / 2, ans);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        double W = scan.nextDouble();
        double H = scan.nextDouble();
        double x = scan.nextDouble();
        double y = scan.nextDouble();
        int ans = 0;
        if (W / 2 == x && H / 2 == y) ans = 1;
        System.out.printf("%.10f %d", W * H / 2, ans);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        double W = scan.nextDouble();
        double H = scan.nextDouble();
        double x = scan.nextDouble();
        double y = scan.nextDouble();
        int ans = 0;
        if (W / 2 == x && H / 2 == y) ans = 1;
        System.out.printf("%.10f %d", W * H / 2, ans);
    }
}