import java.util.*;
import java.lang.*;

class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();
        double s = w*h/2.0;
        int e;
        if(x == w/2 && y ==h/2 && w % 2 ==0 && h % 2==0){
            e =1;
        }else{
            e = 0;
        }



        System.out.println(s);
        System.out.println(e);

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

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();
        double s = w*h/2.0;
        int e;
        if(x == w/2 && y ==h/2 && w % 2 ==0 && h % 2==0){
            e =1;
        }else{
            e = 0;
        }



        System.out.println(s);
        System.out.println(e);

    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();
        double s = w*h/2.0;
        int e;
        if(x == w/2 && y ==h/2 && w % 2 ==0 && h % 2==0){
            e =1;
        }else{
            e = 0;
        }



        System.out.println(s);
        System.out.println(e);

    } main {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();
        double s = w*h/2.0;
        int e;
        if(x == w/2 && y ==h/2 && w % 2 ==0 && h % 2==0){
            e =1;
        }else{
            e = 0;
        }



        System.out.println(s);
        System.out.println(e);

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w = sc.nextDouble(); w sc.nextDouble() sc.nextDouble sc double h = sc.nextDouble(); h sc.nextDouble() sc.nextDouble sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc double s = w*h/2.0; s w*h/2.0 w*h w h 2.0 int e; e if(x == w/2 && y ==h/2 && w % 2 ==0 && h % 2==0){
            e =1;
        }else{
            e = 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 {
            e =1;
        } e =1 e 1 {
            e = 0;
        } e = 0 e 0 System.out.println(s) System.out.println System.out System System.out s System.out.println(e) System.out.println System.out System System.out e String[] args args
import java.util.*;
import java.lang.*;

class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        int x = sc.nextInt();
        int y = sc.nextInt();
        double s = w*h/2.0;
        int e;
        if(x == w/2 && y ==h/2 && w % 2 ==0 && h % 2==0){
            e =1;
        }else{
            e = 0;
        }



        System.out.println(s);
        System.out.println(e);

    }
}