import java.util.*;

public class Main {
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        int w = sc.nextInt();
        int h = sc.nextInt();
        double area = (double) w * (double) h / 2.0;
        int x = sc.nextInt();
        int y = sc.nextInt();
        int cnt = 0;
        if(x - w / 2.0 == 0 && y - h / 2.0 == 0)
        	cnt++;
        System.out.println(area + " " + cnt);
    }
} import java.util.*; util.* java public class Main {
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        int w = sc.nextInt();
        int h = sc.nextInt();
        double area = (double) w * (double) h / 2.0;
        int x = sc.nextInt();
        int y = sc.nextInt();
        int cnt = 0;
        if(x - w / 2.0 == 0 && y - h / 2.0 == 0)
        	cnt++;
        System.out.println(area + " " + cnt);
    }
} Main public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        int w = sc.nextInt();
        int h = sc.nextInt();
        double area = (double) w * (double) h / 2.0;
        int x = sc.nextInt();
        int y = sc.nextInt();
        int cnt = 0;
        if(x - w / 2.0 == 0 && y - h / 2.0 == 0)
        	cnt++;
        System.out.println(area + " " + cnt);
    } main {
        Scanner sc = new Scanner(System.in);
        int w = sc.nextInt();
        int h = sc.nextInt();
        double area = (double) w * (double) h / 2.0;
        int x = sc.nextInt();
        int y = sc.nextInt();
        int cnt = 0;
        if(x - w / 2.0 == 0 && y - h / 2.0 == 0)
        	cnt++;
        System.out.println(area + " " + cnt);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int w = sc.nextInt(); w sc.nextInt() sc.nextInt sc int h = sc.nextInt(); h sc.nextInt() sc.nextInt sc double area = (double) w * (double) h / 2.0; area (double) w * (double) h / 2.0 (double) w * (double) h (double) w (double) h 2.0 int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc int cnt = 0; cnt 0 if(x - w / 2.0 == 0 && y - h / 2.0 == 0)
        	cnt++; x - w / 2.0 == 0 && y - h / 2.0 == 0 x - w / 2.0 == 0 x - w / 2.0 x w / 2.0 w 2.0 0 y - h / 2.0 == 0 y - h / 2.0 y h / 2.0 h 2.0 0 cnt++ cnt System.out.println(area + " " + cnt) System.out.println System.out System System.out area + " " + cnt area + " " + cnt area " " cnt String args[] args public class Main {
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        int w = sc.nextInt();
        int h = sc.nextInt();
        double area = (double) w * (double) h / 2.0;
        int x = sc.nextInt();
        int y = sc.nextInt();
        int cnt = 0;
        if(x - w / 2.0 == 0 && y - h / 2.0 == 0)
        	cnt++;
        System.out.println(area + " " + cnt);
    }
} public class Main {
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        int w = sc.nextInt();
        int h = sc.nextInt();
        double area = (double) w * (double) h / 2.0;
        int x = sc.nextInt();
        int y = sc.nextInt();
        int cnt = 0;
        if(x - w / 2.0 == 0 && y - h / 2.0 == 0)
        	cnt++;
        System.out.println(area + " " + cnt);
    }
} Main
import java.util.*;

public class Main {
    public static void main(String args[]) throws Exception {
        Scanner sc = new Scanner(System.in);
        int w = sc.nextInt();
        int h = sc.nextInt();
        double area = (double) w * (double) h / 2.0;
        int x = sc.nextInt();
        int y = sc.nextInt();
        int cnt = 0;
        if(x - w / 2.0 == 0 && y - h / 2.0 == 0)
        	cnt++;
        System.out.println(area + " " + cnt);
    }
}
