import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();

        double sq = w * h / 2.0;
        if (w / 2.0 == x && h / 2.0 == y) {
            System.out.println(sq + " 1");
        } else {
            System.out.println(sq + " 0");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();

        double sq = w * h / 2.0;
        if (w / 2.0 == x && h / 2.0 == y) {
            System.out.println(sq + " 1");
        } else {
            System.out.println(sq + " 0");
        }
    }
} Main public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();

        double sq = w * h / 2.0;
        if (w / 2.0 == x && h / 2.0 == y) {
            System.out.println(sq + " 1");
        } else {
            System.out.println(sq + " 0");
        }
    } main {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();

        double sq = w * h / 2.0;
        if (w / 2.0 == x && h / 2.0 == y) {
            System.out.println(sq + " 1");
        } else {
            System.out.println(sq + " 0");
        }
    } Scanner std = new Scanner(System.in); std new Scanner(System.in) long w = std.nextLong(); w std.nextLong() std.nextLong std long h = std.nextLong(); h std.nextLong() std.nextLong std long x = std.nextLong(); x std.nextLong() std.nextLong std long y = std.nextLong(); y std.nextLong() std.nextLong std double sq = w * h / 2.0; sq w * h / 2.0 w * h w h 2.0 if (w / 2.0 == x && h / 2.0 == y) {
            System.out.println(sq + " 1");
        } else {
            System.out.println(sq + " 0");
        } w / 2.0 == x && h / 2.0 == y w / 2.0 == x w / 2.0 w 2.0 x h / 2.0 == y h / 2.0 h 2.0 y {
            System.out.println(sq + " 1");
        } System.out.println(sq + " 1") System.out.println System.out System System.out sq + " 1" sq " 1" {
            System.out.println(sq + " 0");
        } System.out.println(sq + " 0") System.out.println System.out System System.out sq + " 0" sq " 0" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();

        double sq = w * h / 2.0;
        if (w / 2.0 == x && h / 2.0 == y) {
            System.out.println(sq + " 1");
        } else {
            System.out.println(sq + " 0");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();

        double sq = w * h / 2.0;
        if (w / 2.0 == x && h / 2.0 == y) {
            System.out.println(sq + " 1");
        } else {
            System.out.println(sq + " 0");
        }
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();

        double sq = w * h / 2.0;
        if (w / 2.0 == x && h / 2.0 == y) {
            System.out.println(sq + " 1");
        } else {
            System.out.println(sq + " 0");
        }
    }
}
