
import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // Scanner sc = new Scanner("");
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        double x = Double.parseDouble(sc.next());
        double y = Double.parseDouble(sc.next());
        double  area = w * h / 2;

        int flagBit = 0;

        if(x*2==w && y*2==h){
            flagBit = 1;
        }
        System.out.println(area + " " + flagBit);
        
    }
} import java.math.BigInteger; BigInteger java.math import java.util.ArrayList; ArrayList java.util import java.util.Arrays; Arrays java.util import java.util.Collections; Collections java.util import java.util.Comparator; Comparator java.util import java.util.HashMap; HashMap java.util import java.util.List; List java.util import java.util.Map; Map java.util import java.util.Scanner; Scanner java.util import java.util.Set; Set java.util public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // Scanner sc = new Scanner("");
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        double x = Double.parseDouble(sc.next());
        double y = Double.parseDouble(sc.next());
        double  area = w * h / 2;

        int flagBit = 0;

        if(x*2==w && y*2==h){
            flagBit = 1;
        }
        System.out.println(area + " " + flagBit);
        
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // Scanner sc = new Scanner("");
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        double x = Double.parseDouble(sc.next());
        double y = Double.parseDouble(sc.next());
        double  area = w * h / 2;

        int flagBit = 0;

        if(x*2==w && y*2==h){
            flagBit = 1;
        }
        System.out.println(area + " " + flagBit);
        
    } main {
        Scanner sc = new Scanner(System.in);
        // Scanner sc = new Scanner("");
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        double x = Double.parseDouble(sc.next());
        double y = Double.parseDouble(sc.next());
        double  area = w * h / 2;

        int flagBit = 0;

        if(x*2==w && y*2==h){
            flagBit = 1;
        }
        System.out.println(area + " " + flagBit);
        
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w = Double.parseDouble(sc.next()); w Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc double h = Double.parseDouble(sc.next()); h Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc double x = Double.parseDouble(sc.next()); x Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc double y = Double.parseDouble(sc.next()); y Double.parseDouble(sc.next()) Double.parseDouble Double sc.next() sc.next sc double  area = w * h / 2; area w * h / 2 w * h w h 2 int flagBit = 0; flagBit 0 if(x*2==w && y*2==h){
            flagBit = 1;
        } x*2==w && y*2==h x*2==w x*2 x 2 w y*2==h y*2 y 2 h {
            flagBit = 1;
        } flagBit = 1 flagBit 1 System.out.println(area + " " + flagBit) System.out.println System.out System System.out area + " " + flagBit area + " " + flagBit area " " flagBit String[] args args public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // Scanner sc = new Scanner("");
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        double x = Double.parseDouble(sc.next());
        double y = Double.parseDouble(sc.next());
        double  area = w * h / 2;

        int flagBit = 0;

        if(x*2==w && y*2==h){
            flagBit = 1;
        }
        System.out.println(area + " " + flagBit);
        
    }
} public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // Scanner sc = new Scanner("");
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        double x = Double.parseDouble(sc.next());
        double y = Double.parseDouble(sc.next());
        double  area = w * h / 2;

        int flagBit = 0;

        if(x*2==w && y*2==h){
            flagBit = 1;
        }
        System.out.println(area + " " + flagBit);
        
    }
} Main

import java.math.BigInteger;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Scanner;
import java.util.Set;

public class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        // Scanner sc = new Scanner("");
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        double x = Double.parseDouble(sc.next());
        double y = Double.parseDouble(sc.next());
        double  area = w * h / 2;

        int flagBit = 0;

        if(x*2==w && y*2==h){
            flagBit = 1;
        }
        System.out.println(area + " " + flagBit);
        
    }
}