import java.util.*;
//mport java.io.*;


public class Main{

    static int INFTY = Integer.MAX_VALUE;
    static int global =10;
    public static void main (String args[]){
        //初期処理
        Scanner sc=new Scanner(System.in);
        // BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        // try{
            // int n = Integer.parseInt(br.readLine());
        long W = sc.nextInt();
        long H = sc.nextInt();
        long x = sc.nextInt();
        long y = sc.nextInt();
        
        String ans;
        if(x==W/2.0 && y==H/2.0){
            ans = W*H/2.0 + " " + 1 ;
        } else {
            ans = W*H/2.0 + " " + 0 ;
        }
        System.out.println(ans);
    }
        

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

    static int INFTY = Integer.MAX_VALUE;
    static int global =10;
    public static void main (String args[]){
        //初期処理
        Scanner sc=new Scanner(System.in);
        // BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        // try{
            // int n = Integer.parseInt(br.readLine());
        long W = sc.nextInt();
        long H = sc.nextInt();
        long x = sc.nextInt();
        long y = sc.nextInt();
        
        String ans;
        if(x==W/2.0 && y==H/2.0){
            ans = W*H/2.0 + " " + 1 ;
        } else {
            ans = W*H/2.0 + " " + 0 ;
        }
        System.out.println(ans);
    }
        

} Main static int INFTY = Integer.MAX_VALUE; INFTY Integer.MAX_VALUE Integer Integer.MAX_VALUE static int global =10; global 10 public static void main (String args[]){
        //初期処理
        Scanner sc=new Scanner(System.in);
        // BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        // try{
            // int n = Integer.parseInt(br.readLine());
        long W = sc.nextInt();
        long H = sc.nextInt();
        long x = sc.nextInt();
        long y = sc.nextInt();
        
        String ans;
        if(x==W/2.0 && y==H/2.0){
            ans = W*H/2.0 + " " + 1 ;
        } else {
            ans = W*H/2.0 + " " + 0 ;
        }
        System.out.println(ans);
    } main {
        //初期処理
        Scanner sc=new Scanner(System.in);
        // BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        // try{
            // int n = Integer.parseInt(br.readLine());
        long W = sc.nextInt();
        long H = sc.nextInt();
        long x = sc.nextInt();
        long y = sc.nextInt();
        
        String ans;
        if(x==W/2.0 && y==H/2.0){
            ans = W*H/2.0 + " " + 1 ;
        } else {
            ans = W*H/2.0 + " " + 0 ;
        }
        System.out.println(ans);
    } Scanner sc=new Scanner(System.in); sc new Scanner(System.in) long W = sc.nextInt(); W sc.nextInt() sc.nextInt sc long H = sc.nextInt(); H sc.nextInt() sc.nextInt sc long x = sc.nextInt(); x sc.nextInt() sc.nextInt sc long y = sc.nextInt(); y sc.nextInt() sc.nextInt sc String ans; ans if(x==W/2.0 && y==H/2.0){
            ans = W*H/2.0 + " " + 1 ;
        } else {
            ans = W*H/2.0 + " " + 0 ;
        } x==W/2.0 && y==H/2.0 x==W/2.0 x W/2.0 W 2.0 y==H/2.0 y H/2.0 H 2.0 {
            ans = W*H/2.0 + " " + 1 ;
        } ans = W*H/2.0 + " " + 1 ans W*H/2.0 + " " + 1 W*H/2.0 + " " + 1 W*H/2.0 W*H W H 2.0 " " 1 {
            ans = W*H/2.0 + " " + 0 ;
        } ans = W*H/2.0 + " " + 0 ans W*H/2.0 + " " + 0 W*H/2.0 + " " + 0 W*H/2.0 W*H W H 2.0 " " 0 System.out.println(ans) System.out.println System.out System System.out ans String args[] args public class Main{

    static int INFTY = Integer.MAX_VALUE;
    static int global =10;
    public static void main (String args[]){
        //初期処理
        Scanner sc=new Scanner(System.in);
        // BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        // try{
            // int n = Integer.parseInt(br.readLine());
        long W = sc.nextInt();
        long H = sc.nextInt();
        long x = sc.nextInt();
        long y = sc.nextInt();
        
        String ans;
        if(x==W/2.0 && y==H/2.0){
            ans = W*H/2.0 + " " + 1 ;
        } else {
            ans = W*H/2.0 + " " + 0 ;
        }
        System.out.println(ans);
    }
        

} public class Main{

    static int INFTY = Integer.MAX_VALUE;
    static int global =10;
    public static void main (String args[]){
        //初期処理
        Scanner sc=new Scanner(System.in);
        // BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        // try{
            // int n = Integer.parseInt(br.readLine());
        long W = sc.nextInt();
        long H = sc.nextInt();
        long x = sc.nextInt();
        long y = sc.nextInt();
        
        String ans;
        if(x==W/2.0 && y==H/2.0){
            ans = W*H/2.0 + " " + 1 ;
        } else {
            ans = W*H/2.0 + " " + 0 ;
        }
        System.out.println(ans);
    }
        

} Main
import java.util.*;
//mport java.io.*;


public class Main{

    static int INFTY = Integer.MAX_VALUE;
    static int global =10;
    public static void main (String args[]){
        //初期処理
        Scanner sc=new Scanner(System.in);
        // BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        // try{
            // int n = Integer.parseInt(br.readLine());
        long W = sc.nextInt();
        long H = sc.nextInt();
        long x = sc.nextInt();
        long y = sc.nextInt();
        
        String ans;
        if(x==W/2.0 && y==H/2.0){
            ans = W*H/2.0 + " " + 1 ;
        } else {
            ans = W*H/2.0 + " " + 0 ;
        }
        System.out.println(ans);
    }
        

}