import java.util.Scanner;

public class Main {

    private void solve() {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double ans1 = (double) W * H / 2;
        System.out.print(ans1 + " ");

        if ((W % 2 == 0) && (x == W / 2) && (H % 2 == 0) && (y == H / 2)) {
            System.out.print(1);
        }
        else {
            System.out.print(0);
        }
    }

    // Main
    public static void main(String[] args) {
        new Main().solve();
    }

} import java.util.Scanner; Scanner java.util public class Main {

    private void solve() {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double ans1 = (double) W * H / 2;
        System.out.print(ans1 + " ");

        if ((W % 2 == 0) && (x == W / 2) && (H % 2 == 0) && (y == H / 2)) {
            System.out.print(1);
        }
        else {
            System.out.print(0);
        }
    }

    // Main
    public static void main(String[] args) {
        new Main().solve();
    }

} Main private void solve() {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double ans1 = (double) W * H / 2;
        System.out.print(ans1 + " ");

        if ((W % 2 == 0) && (x == W / 2) && (H % 2 == 0) && (y == H / 2)) {
            System.out.print(1);
        }
        else {
            System.out.print(0);
        }
    } solve {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double ans1 = (double) W * H / 2;
        System.out.print(ans1 + " ");

        if ((W % 2 == 0) && (x == W / 2) && (H % 2 == 0) && (y == H / 2)) {
            System.out.print(1);
        }
        else {
            System.out.print(0);
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int W = sc.nextInt(); W sc.nextInt() sc.nextInt sc int H = sc.nextInt(); H sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc double ans1 = (double) W * H / 2; ans1 (double) W * H / 2 (double) W * H (double) W H 2 System.out.print(ans1 + " ") System.out.print System.out System System.out ans1 + " " ans1 " " if ((W % 2 == 0) && (x == W / 2) && (H % 2 == 0) && (y == H / 2)) {
            System.out.print(1);
        }
        else {
            System.out.print(0);
        } (W % 2 == 0) && (x == W / 2) && (H % 2 == 0) && (y == H / 2) (H % 2 == 0) (W % 2 == 0) && (x == W / 2) && (H % 2 == 0) && (y == H / 2) (W % 2 == 0) W % 2 W 2 0 (x == W / 2) x W / 2 W 2 (H % 2 == 0) H % 2 H 2 0 (y == H / 2) y H / 2 H 2 {
            System.out.print(1);
        } System.out.print(1) System.out.print System.out System System.out 1 {
            System.out.print(0);
        } System.out.print(0) System.out.print System.out System System.out 0 // Main
    public static void main(String[] args) {
        new Main().solve();
    } main {
        new Main().solve();
    } new Main().solve() new Main().solve new Main() String[] args args public class Main {

    private void solve() {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double ans1 = (double) W * H / 2;
        System.out.print(ans1 + " ");

        if ((W % 2 == 0) && (x == W / 2) && (H % 2 == 0) && (y == H / 2)) {
            System.out.print(1);
        }
        else {
            System.out.print(0);
        }
    }

    // Main
    public static void main(String[] args) {
        new Main().solve();
    }

} public class Main {

    private void solve() {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double ans1 = (double) W * H / 2;
        System.out.print(ans1 + " ");

        if ((W % 2 == 0) && (x == W / 2) && (H % 2 == 0) && (y == H / 2)) {
            System.out.print(1);
        }
        else {
            System.out.print(0);
        }
    }

    // Main
    public static void main(String[] args) {
        new Main().solve();
    }

} Main
import java.util.Scanner;

public class Main {

    private void solve() {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double ans1 = (double) W * H / 2;
        System.out.print(ans1 + " ");

        if ((W % 2 == 0) && (x == W / 2) && (H % 2 == 0) && (y == H / 2)) {
            System.out.print(1);
        }
        else {
            System.out.print(0);
        }
    }

    // Main
    public static void main(String[] args) {
        new Main().solve();
    }

}
