import java.util.*;

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());
        sc.close();
        String ans = ((long) w * h / 2.0) + " " + (x * 2 == w && y * 2 == h ? 1 : 0);
        System.out.println(ans);
    }
} import java.util.*; util.* java 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());
        sc.close();
        String ans = ((long) w * h / 2.0) + " " + (x * 2 == w && y * 2 == h ? 1 : 0);
        System.out.println(ans);
    }
} 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());
        sc.close();
        String ans = ((long) w * h / 2.0) + " " + (x * 2 == w && y * 2 == h ? 1 : 0);
        System.out.println(ans);
    } 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());
        sc.close();
        String ans = ((long) w * h / 2.0) + " " + (x * 2 == w && y * 2 == h ? 1 : 0);
        System.out.println(ans);
    } 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 sc.close() sc.close sc String ans = ((long) w * h / 2.0) + " " + (x * 2 == w && y * 2 == h ? 1 : 0); ans ((long) w * h / 2.0) + " " + (x * 2 == w && y * 2 == h ? 1 : 0) ((long) w * h / 2.0) + " " + (x * 2 == w && y * 2 == h ? 1 : 0) ((long) w * h / 2.0) (long) w * h (long) w h 2.0 " " (x * 2 == w && y * 2 == h ? 1 : 0) x * 2 == w && y * 2 == h x * 2 == w x * 2 x 2 w y * 2 == h y * 2 y 2 h 1 0 System.out.println(ans) System.out.println System.out System System.out ans String[] args args
import java.util.*;

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());
        sc.close();
        String ans = ((long) w * h / 2.0) + " " + (x * 2 == w && y * 2 == h ? 1 : 0);
        System.out.println(ans);
    }
}