import java.util.*;

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

        int W = scanner.nextInt();
        int H = scanner.nextInt();

        int x = scanner.nextInt();
        int y = scanner.nextInt();


        double area = (double)W*H/ 2.0;

        if(2*x==W && 2*y==H){
            System.out.println(area + " " + "1");
        }else{
            System.out.println(area + " " + "0");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int W = scanner.nextInt();
        int H = scanner.nextInt();

        int x = scanner.nextInt();
        int y = scanner.nextInt();


        double area = (double)W*H/ 2.0;

        if(2*x==W && 2*y==H){
            System.out.println(area + " " + "1");
        }else{
            System.out.println(area + " " + "0");
        }
    }
} Main public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int W = scanner.nextInt();
        int H = scanner.nextInt();

        int x = scanner.nextInt();
        int y = scanner.nextInt();


        double area = (double)W*H/ 2.0;

        if(2*x==W && 2*y==H){
            System.out.println(area + " " + "1");
        }else{
            System.out.println(area + " " + "0");
        }
    } main {
        Scanner scanner = new Scanner(System.in);

        int W = scanner.nextInt();
        int H = scanner.nextInt();

        int x = scanner.nextInt();
        int y = scanner.nextInt();


        double area = (double)W*H/ 2.0;

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

        int W = scanner.nextInt();
        int H = scanner.nextInt();

        int x = scanner.nextInt();
        int y = scanner.nextInt();


        double area = (double)W*H/ 2.0;

        if(2*x==W && 2*y==H){
            System.out.println(area + " " + "1");
        }else{
            System.out.println(area + " " + "0");
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);

        int W = scanner.nextInt();
        int H = scanner.nextInt();

        int x = scanner.nextInt();
        int y = scanner.nextInt();


        double area = (double)W*H/ 2.0;

        if(2*x==W && 2*y==H){
            System.out.println(area + " " + "1");
        }else{
            System.out.println(area + " " + "0");
        }
    }
} Main
import java.util.*;

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

        int W = scanner.nextInt();
        int H = scanner.nextInt();

        int x = scanner.nextInt();
        int y = scanner.nextInt();


        double area = (double)W*H/ 2.0;

        if(2*x==W && 2*y==H){
            System.out.println(area + " " + "1");
        }else{
            System.out.println(area + " " + "0");
        }
    }
}
