import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double area = w / 2 * h;
        System.out.print(area + " ");

        int n = (w / 2 == x && h / 2 == y) ? 1 : 0;
        System.out.print(n);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double area = w / 2 * h;
        System.out.print(area + " ");

        int n = (w / 2 == x && h / 2 == y) ? 1 : 0;
        System.out.print(n);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double area = w / 2 * h;
        System.out.print(area + " ");

        int n = (w / 2 == x && h / 2 == y) ? 1 : 0;
        System.out.print(n);
    } main {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double area = w / 2 * h;
        System.out.print(area + " ");

        int n = (w / 2 == x && h / 2 == y) ? 1 : 0;
        System.out.print(n);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w = sc.nextDouble(); w sc.nextDouble() sc.nextDouble sc double h = sc.nextDouble(); h sc.nextDouble() sc.nextDouble sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc double area = w / 2 * h; area w / 2 * h w / 2 w 2 h System.out.print(area + " ") System.out.print System.out System System.out area + " " area " " int n = (w / 2 == x && h / 2 == y) ? 1 : 0; n (w / 2 == x && h / 2 == y) ? 1 : 0 (w / 2 == x && h / 2 == y) w / 2 == x w / 2 w 2 x h / 2 == y h / 2 h 2 y 1 0 System.out.print(n) System.out.print System.out System System.out n String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double area = w / 2 * h;
        System.out.print(area + " ");

        int n = (w / 2 == x && h / 2 == y) ? 1 : 0;
        System.out.print(n);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double area = w / 2 * h;
        System.out.print(area + " ");

        int n = (w / 2 == x && h / 2 == y) ? 1 : 0;
        System.out.print(n);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();

        double area = w / 2 * h;
        System.out.print(area + " ");

        int n = (w / 2 == x && h / 2 == y) ? 1 : 0;
        System.out.print(n);
    }
}