import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int width = sc.nextInt();
        int height = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        int  count = 0;
        if (x *2 == width && y * 2 == height){
            count = 1;
        }

        double area = (double)width * (double)height / 2.0;

        System.out.println(String.valueOf(area) + " " + String.valueOf(count));

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

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int width = sc.nextInt();
        int height = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        int  count = 0;
        if (x *2 == width && y * 2 == height){
            count = 1;
        }

        double area = (double)width * (double)height / 2.0;

        System.out.println(String.valueOf(area) + " " + String.valueOf(count));

    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int width = sc.nextInt();
        int height = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        int  count = 0;
        if (x *2 == width && y * 2 == height){
            count = 1;
        }

        double area = (double)width * (double)height / 2.0;

        System.out.println(String.valueOf(area) + " " + String.valueOf(count));

    } main {
        Scanner sc = new Scanner(System.in);
        int width = sc.nextInt();
        int height = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        int  count = 0;
        if (x *2 == width && y * 2 == height){
            count = 1;
        }

        double area = (double)width * (double)height / 2.0;

        System.out.println(String.valueOf(area) + " " + String.valueOf(count));

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int width = sc.nextInt(); width sc.nextInt() sc.nextInt sc int height = sc.nextInt(); height 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 int  count = 0; count 0 if (x *2 == width && y * 2 == height){
            count = 1;
        } x *2 == width && y * 2 == height x *2 == width x *2 x 2 width y * 2 == height y * 2 y 2 height {
            count = 1;
        } count = 1 count 1 double area = (double)width * (double)height / 2.0; area (double)width * (double)height / 2.0 (double)width * (double)height (double)width (double)height 2.0 System.out.println(String.valueOf(area) + " " + String.valueOf(count)) System.out.println System.out System System.out String.valueOf(area) + " " + String.valueOf(count) String.valueOf(area) + " " + String.valueOf(count) String.valueOf(area) String.valueOf String area " " String.valueOf(count) String.valueOf String count String[] args args public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int width = sc.nextInt();
        int height = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        int  count = 0;
        if (x *2 == width && y * 2 == height){
            count = 1;
        }

        double area = (double)width * (double)height / 2.0;

        System.out.println(String.valueOf(area) + " " + String.valueOf(count));

    }
} public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int width = sc.nextInt();
        int height = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        int  count = 0;
        if (x *2 == width && y * 2 == height){
            count = 1;
        }

        double area = (double)width * (double)height / 2.0;

        System.out.println(String.valueOf(area) + " " + String.valueOf(count));

    }
} Main
import java.util.*;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int width = sc.nextInt();
        int height = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        int  count = 0;
        if (x *2 == width && y * 2 == height){
            count = 1;
        }

        double area = (double)width * (double)height / 2.0;

        System.out.println(String.valueOf(area) + " " + String.valueOf(count));

    }
}