import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        
        double s = w*h/2;
        System.out.print(s);
        
        if((x*2 == w) && (y*2 == h)){
            System.out.println(" 1");
        }else{
            System.out.println(" 0");
        }
    }
} import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        
        double s = w*h/2;
        System.out.print(s);
        
        if((x*2 == w) && (y*2 == h)){
            System.out.println(" 1");
        }else{
            System.out.println(" 0");
        }
    }
} Main public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        
        double s = w*h/2;
        System.out.print(s);
        
        if((x*2 == w) && (y*2 == h)){
            System.out.println(" 1");
        }else{
            System.out.println(" 0");
        }
    } main {
        
        Scanner sc = new Scanner(System.in);
        
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        
        double s = w*h/2;
        System.out.print(s);
        
        if((x*2 == w) && (y*2 == h)){
            System.out.println(" 1");
        }else{
            System.out.println(" 0");
        }
    } 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 int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double s = w*h/2; s w*h/2 w*h w h 2 System.out.print(s) System.out.print System.out System System.out s if((x*2 == w) && (y*2 == h)){
            System.out.println(" 1");
        }else{
            System.out.println(" 0");
        } (x*2 == w) && (y*2 == h) (x*2 == w) x*2 x 2 w (y*2 == h) y*2 y 2 h {
            System.out.println(" 1");
        } System.out.println(" 1") System.out.println System.out System System.out " 1" {
            System.out.println(" 0");
        } System.out.println(" 0") System.out.println System.out System System.out " 0" String[] args args public class Main {

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

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        
        double s = w*h/2;
        System.out.print(s);
        
        if((x*2 == w) && (y*2 == h)){
            System.out.println(" 1");
        }else{
            System.out.println(" 0");
        }
    }
} Main
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        double w = Double.parseDouble(sc.next());
        double h = Double.parseDouble(sc.next());
        int x = Integer.parseInt(sc.next());
        int y = Integer.parseInt(sc.next());
        
        double s = w*h/2;
        System.out.print(s);
        
        if((x*2 == w) && (y*2 == h)){
            System.out.println(" 1");
        }else{
            System.out.println(" 0");
        }
    }
}