import java.util.*;

public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

        double ans = 0.5 * w * h;

        StringBuilder builder = new StringBuilder(String.valueOf(ans));
        int flag = 0.5 * w == x && 0.5 * h == y ? 1 : 0;
        builder.append(" " + flag);

        System.out.println(builder);
    }
} import java.util.*; util.* java public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

        double ans = 0.5 * w * h;

        StringBuilder builder = new StringBuilder(String.valueOf(ans));
        int flag = 0.5 * w == x && 0.5 * h == y ? 1 : 0;
        builder.append(" " + flag);

        System.out.println(builder);
    }
} Main public static void main(String[] args) {
        // write your code here
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

        double ans = 0.5 * w * h;

        StringBuilder builder = new StringBuilder(String.valueOf(ans));
        int flag = 0.5 * w == x && 0.5 * h == y ? 1 : 0;
        builder.append(" " + flag);

        System.out.println(builder);
    } main {
        // write your code here
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

        double ans = 0.5 * w * h;

        StringBuilder builder = new StringBuilder(String.valueOf(ans));
        int flag = 0.5 * w == x && 0.5 * h == y ? 1 : 0;
        builder.append(" " + flag);

        System.out.println(builder);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = sc.nextLong(); w sc.nextLong() sc.nextLong sc long h = sc.nextLong(); h sc.nextLong() sc.nextLong sc long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long y = sc.nextLong(); y sc.nextLong() sc.nextLong sc double ans = 0.5 * w * h; ans 0.5 * w * h 0.5 * w * h 0.5 w h StringBuilder builder = new StringBuilder(String.valueOf(ans)); builder new StringBuilder(String.valueOf(ans)) int flag = 0.5 * w == x && 0.5 * h == y ? 1 : 0; flag 0.5 * w == x && 0.5 * h == y ? 1 : 0 0.5 * w == x && 0.5 * h == y 0.5 * w == x 0.5 * w 0.5 w x 0.5 * h == y 0.5 * h 0.5 h y 1 0 builder.append(" " + flag) builder.append builder " " + flag " " flag System.out.println(builder) System.out.println System.out System System.out builder String[] args args public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

        double ans = 0.5 * w * h;

        StringBuilder builder = new StringBuilder(String.valueOf(ans));
        int flag = 0.5 * w == x && 0.5 * h == y ? 1 : 0;
        builder.append(" " + flag);

        System.out.println(builder);
    }
} public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

        double ans = 0.5 * w * h;

        StringBuilder builder = new StringBuilder(String.valueOf(ans));
        int flag = 0.5 * w == x && 0.5 * h == y ? 1 : 0;
        builder.append(" " + flag);

        System.out.println(builder);
    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        // write your code here
        Scanner sc = new Scanner(System.in);

        long w = sc.nextLong();
        long h = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();

        double ans = 0.5 * w * h;

        StringBuilder builder = new StringBuilder(String.valueOf(ans));
        int flag = 0.5 * w == x && 0.5 * h == y ? 1 : 0;
        builder.append(" " + flag);

        System.out.println(builder);
    }
}