import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        int isMulti = ((w / 2.0) == x && (h / 2.0) == y) ? 1 : 0;
        System.out.println((w * h / 2.0) + " " + isMulti);
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        int isMulti = ((w / 2.0) == x && (h / 2.0) == y) ? 1 : 0;
        System.out.println((w * h / 2.0) + " " + isMulti);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        int isMulti = ((w / 2.0) == x && (h / 2.0) == y) ? 1 : 0;
        System.out.println((w * h / 2.0) + " " + isMulti);
    } main {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        int isMulti = ((w / 2.0) == x && (h / 2.0) == y) ? 1 : 0;
        System.out.println((w * h / 2.0) + " " + isMulti);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = Long.parseLong(sc.next()); w Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc long h = Long.parseLong(sc.next()); h Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc long x = Long.parseLong(sc.next()); x Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc long y = Long.parseLong(sc.next()); y Long.parseLong(sc.next()) Long.parseLong Long sc.next() sc.next sc int isMulti = ((w / 2.0) == x && (h / 2.0) == y) ? 1 : 0; isMulti ((w / 2.0) == x && (h / 2.0) == y) ? 1 : 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 1 0 System.out.println((w * h / 2.0) + " " + isMulti) System.out.println System.out System System.out (w * h / 2.0) + " " + isMulti (w * h / 2.0) + " " + isMulti (w * h / 2.0) w * h w h 2.0 " " isMulti String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        int isMulti = ((w / 2.0) == x && (h / 2.0) == y) ? 1 : 0;
        System.out.println((w * h / 2.0) + " " + isMulti);
    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        int isMulti = ((w / 2.0) == x && (h / 2.0) == y) ? 1 : 0;
        System.out.println((w * h / 2.0) + " " + isMulti);
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long w = Long.parseLong(sc.next());
        long h = Long.parseLong(sc.next());
        long x = Long.parseLong(sc.next());
        long y = Long.parseLong(sc.next());
        int isMulti = ((w / 2.0) == x && (h / 2.0) == y) ? 1 : 0;
        System.out.println((w * h / 2.0) + " " + isMulti);
    }
}