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