
import java.util.Scanner;

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

        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        double area = W * H / 2.0;
        int flag = (x + x == W && y + y == H) ? 1 : 0;

        System.out.printf("%f %d%n", area, flag);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        double area = W * H / 2.0;
        int flag = (x + x == W && y + y == H) ? 1 : 0;

        System.out.printf("%f %d%n", area, flag);
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        double area = W * H / 2.0;
        int flag = (x + x == W && y + y == H) ? 1 : 0;

        System.out.printf("%f %d%n", area, flag);
    } main {
        Scanner scanner = new Scanner(System.in);

        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        double area = W * H / 2.0;
        int flag = (x + x == W && y + y == H) ? 1 : 0;

        System.out.printf("%f %d%n", area, flag);
    } Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) long W = scanner.nextLong(); W scanner.nextLong() scanner.nextLong scanner long H = scanner.nextLong(); H scanner.nextLong() scanner.nextLong scanner long x = scanner.nextLong(); x scanner.nextLong() scanner.nextLong scanner long y = scanner.nextLong(); y scanner.nextLong() scanner.nextLong scanner double area = W * H / 2.0; area W * H / 2.0 W * H W H 2.0 int flag = (x + x == W && y + y == H) ? 1 : 0; flag (x + x == W && y + y == H) ? 1 : 0 (x + x == W && y + y == H) x + x == W x + x x x W y + y == H y + y y y H 1 0 System.out.printf("%f %d%n", area, flag) System.out.printf System.out System System.out "%f %d%n" area flag String[] args args public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        double area = W * H / 2.0;
        int flag = (x + x == W && y + y == H) ? 1 : 0;

        System.out.printf("%f %d%n", area, flag);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        double area = W * H / 2.0;
        int flag = (x + x == W && y + y == H) ? 1 : 0;

        System.out.printf("%f %d%n", area, flag);
    }
} Main

import java.util.Scanner;

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

        long W = scanner.nextLong();
        long H = scanner.nextLong();
        long x = scanner.nextLong();
        long y = scanner.nextLong();

        double area = W * H / 2.0;
        int flag = (x + x == W && y + y == H) ? 1 : 0;

        System.out.printf("%f %d%n", area, flag);
    }
}
