import java.util.Scanner;

class Solver{

    private final int W;
    private final int H;
    private final int x;
    private final int y;

    Solver(Scanner in){
        W = in.nextInt();
        H = in.nextInt();
        x = in.nextInt();
        y = in.nextInt();
    }

    void solve(){
        System.out.printf("%f %d", 0.5 * W * H, x * 2 == W && y * 2 == H ? 1 : 0);
    }
}

class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        new Solver(in).solve();

        in.close();
    }
} import java.util.Scanner; Scanner java.util class Solver{

    private final int W;
    private final int H;
    private final int x;
    private final int y;

    Solver(Scanner in){
        W = in.nextInt();
        H = in.nextInt();
        x = in.nextInt();
        y = in.nextInt();
    }

    void solve(){
        System.out.printf("%f %d", 0.5 * W * H, x * 2 == W && y * 2 == H ? 1 : 0);
    }
} Solver private final int W; W private final int H; H private final int x; x private final int y; y Solver(Scanner in){
        W = in.nextInt();
        H = in.nextInt();
        x = in.nextInt();
        y = in.nextInt();
    } Solver {
        W = in.nextInt();
        H = in.nextInt();
        x = in.nextInt();
        y = in.nextInt();
    } W = in.nextInt() W in.nextInt() in.nextInt in H = in.nextInt() H in.nextInt() in.nextInt in x = in.nextInt() x in.nextInt() in.nextInt in y = in.nextInt() y in.nextInt() in.nextInt in Scanner in in void solve(){
        System.out.printf("%f %d", 0.5 * W * H, x * 2 == W && y * 2 == H ? 1 : 0);
    } solve {
        System.out.printf("%f %d", 0.5 * W * H, x * 2 == W && y * 2 == H ? 1 : 0);
    } System.out.printf("%f %d", 0.5 * W * H, x * 2 == W && y * 2 == H ? 1 : 0) System.out.printf System.out System System.out "%f %d" 0.5 * W * H 0.5 * W * H 0.5 W H 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 class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        new Solver(in).solve();

        in.close();
    }
} Main public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        new Solver(in).solve();

        in.close();
    } main {
        Scanner in = new Scanner(System.in);

        new Solver(in).solve();

        in.close();
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) new Solver(in).solve() new Solver(in).solve new Solver(in) in.close() in.close in String[] args args
import java.util.Scanner;

class Solver{

    private final int W;
    private final int H;
    private final int x;
    private final int y;

    Solver(Scanner in){
        W = in.nextInt();
        H = in.nextInt();
        x = in.nextInt();
        y = in.nextInt();
    }

    void solve(){
        System.out.printf("%f %d", 0.5 * W * H, x * 2 == W && y * 2 == H ? 1 : 0);
    }
}

class Main{
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);

        new Solver(in).solve();

        in.close();
    }
}