import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int w = scan.nextInt();
        int h = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();
        double area = (double)w * h / 2;
        if(x == w / 2 && y == h / 2 && w % 2 == 0 && h % 2 == 0){
            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 scan = new Scanner(System.in);
        int w = scan.nextInt();
        int h = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();
        double area = (double)w * h / 2;
        if(x == w / 2 && y == h / 2 && w % 2 == 0 && h % 2 == 0){
            System.out.println(area + " " + 1);
        }else{
            System.out.println(area + " " + 0);
        }
    }
} Main public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int w = scan.nextInt();
        int h = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();
        double area = (double)w * h / 2;
        if(x == w / 2 && y == h / 2 && w % 2 == 0 && h % 2 == 0){
            System.out.println(area + " " + 1);
        }else{
            System.out.println(area + " " + 0);
        }
    } main {
        Scanner scan = new Scanner(System.in);
        int w = scan.nextInt();
        int h = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();
        double area = (double)w * h / 2;
        if(x == w / 2 && y == h / 2 && w % 2 == 0 && h % 2 == 0){
            System.out.println(area + " " + 1);
        }else{
            System.out.println(area + " " + 0);
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) int w = scan.nextInt(); w scan.nextInt() scan.nextInt scan int h = scan.nextInt(); h scan.nextInt() scan.nextInt scan int x = scan.nextInt(); x scan.nextInt() scan.nextInt scan int y = scan.nextInt(); y scan.nextInt() scan.nextInt scan double area = (double)w * h / 2; area (double)w * h / 2 (double)w * h (double)w h 2 if(x == w / 2 && y == h / 2 && w % 2 == 0 && h % 2 == 0){
            System.out.println(area + " " + 1);
        }else{
            System.out.println(area + " " + 0);
        } x == w / 2 && y == h / 2 && w % 2 == 0 && h % 2 == 0 w % 2 == 0 x == w / 2 && y == h / 2 && w % 2 == 0 && h % 2 == 0 x == w / 2 x w / 2 w 2 y == h / 2 y h / 2 h 2 w % 2 == 0 w % 2 w 2 0 h % 2 == 0 h % 2 h 2 0 {
            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 scan = new Scanner(System.in);
        int w = scan.nextInt();
        int h = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();
        double area = (double)w * h / 2;
        if(x == w / 2 && y == h / 2 && w % 2 == 0 && h % 2 == 0){
            System.out.println(area + " " + 1);
        }else{
            System.out.println(area + " " + 0);
        }
    }
} public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int w = scan.nextInt();
        int h = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();
        double area = (double)w * h / 2;
        if(x == w / 2 && y == h / 2 && w % 2 == 0 && h % 2 == 0){
            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 scan = new Scanner(System.in);
        int w = scan.nextInt();
        int h = scan.nextInt();
        int x = scan.nextInt();
        int y = scan.nextInt();
        double area = (double)w * h / 2;
        if(x == w / 2 && y == h / 2 && w % 2 == 0 && h % 2 == 0){
            System.out.println(area + " " + 1);
        }else{
            System.out.println(area + " " + 0);
        }
    }
}