import java.util.Scanner;
import java.math.BigDecimal;
import java.util.*;

public class Main{
    public static void main(String args[]){
        
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong();
        long H = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double size = (double)(W * H) / 2.0;
        if(W % 2 == 0 && H % 2 == 0){
            if(x == W / 2 && y == H / 2){
                System.out.println(size + " " + 1);
            }else{
                System.out.println(size + " " + 0);
            }
        }else{
            System.out.println(size + " " + 0);
        }
    }
} import java.util.Scanner; Scanner java.util import java.math.BigDecimal; BigDecimal java.math import java.util.*; util.* java public class Main{
    public static void main(String args[]){
        
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong();
        long H = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double size = (double)(W * H) / 2.0;
        if(W % 2 == 0 && H % 2 == 0){
            if(x == W / 2 && y == H / 2){
                System.out.println(size + " " + 1);
            }else{
                System.out.println(size + " " + 0);
            }
        }else{
            System.out.println(size + " " + 0);
        }
    }
} Main public static void main(String args[]){
        
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong();
        long H = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double size = (double)(W * H) / 2.0;
        if(W % 2 == 0 && H % 2 == 0){
            if(x == W / 2 && y == H / 2){
                System.out.println(size + " " + 1);
            }else{
                System.out.println(size + " " + 0);
            }
        }else{
            System.out.println(size + " " + 0);
        }
    } main {
        
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong();
        long H = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double size = (double)(W * H) / 2.0;
        if(W % 2 == 0 && H % 2 == 0){
            if(x == W / 2 && y == H / 2){
                System.out.println(size + " " + 1);
            }else{
                System.out.println(size + " " + 0);
            }
        }else{
            System.out.println(size + " " + 0);
        }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long W = sc.nextLong(); W sc.nextLong() sc.nextLong sc long H = sc.nextLong(); H sc.nextLong() sc.nextLong sc long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long y = sc.nextLong(); y sc.nextLong() sc.nextLong sc double size = (double)(W * H) / 2.0; size (double)(W * H) / 2.0 (double)(W * H) W H 2.0 if(W % 2 == 0 && H % 2 == 0){
            if(x == W / 2 && y == H / 2){
                System.out.println(size + " " + 1);
            }else{
                System.out.println(size + " " + 0);
            }
        }else{
            System.out.println(size + " " + 0);
        } W % 2 == 0 && H % 2 == 0 W % 2 == 0 W % 2 W 2 0 H % 2 == 0 H % 2 H 2 0 {
            if(x == W / 2 && y == H / 2){
                System.out.println(size + " " + 1);
            }else{
                System.out.println(size + " " + 0);
            }
        } if(x == W / 2 && y == H / 2){
                System.out.println(size + " " + 1);
            }else{
                System.out.println(size + " " + 0);
            } x == W / 2 && y == H / 2 x == W / 2 x W / 2 W 2 y == H / 2 y H / 2 H 2 {
                System.out.println(size + " " + 1);
            } System.out.println(size + " " + 1) System.out.println System.out System System.out size + " " + 1 size + " " + 1 size " " 1 {
                System.out.println(size + " " + 0);
            } System.out.println(size + " " + 0) System.out.println System.out System System.out size + " " + 0 size + " " + 0 size " " 0 {
            System.out.println(size + " " + 0);
        } System.out.println(size + " " + 0) System.out.println System.out System System.out size + " " + 0 size + " " + 0 size " " 0 String args[] args public class Main{
    public static void main(String args[]){
        
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong();
        long H = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double size = (double)(W * H) / 2.0;
        if(W % 2 == 0 && H % 2 == 0){
            if(x == W / 2 && y == H / 2){
                System.out.println(size + " " + 1);
            }else{
                System.out.println(size + " " + 0);
            }
        }else{
            System.out.println(size + " " + 0);
        }
    }
} public class Main{
    public static void main(String args[]){
        
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong();
        long H = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double size = (double)(W * H) / 2.0;
        if(W % 2 == 0 && H % 2 == 0){
            if(x == W / 2 && y == H / 2){
                System.out.println(size + " " + 1);
            }else{
                System.out.println(size + " " + 0);
            }
        }else{
            System.out.println(size + " " + 0);
        }
    }
} Main
import java.util.Scanner;
import java.math.BigDecimal;
import java.util.*;

public class Main{
    public static void main(String args[]){
        
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong();
        long H = sc.nextLong();
        long x = sc.nextLong();
        long y = sc.nextLong();
        double size = (double)(W * H) / 2.0;
        if(W % 2 == 0 && H % 2 == 0){
            if(x == W / 2 && y == H / 2){
                System.out.println(size + " " + 1);
            }else{
                System.out.println(size + " " + 0);
            }
        }else{
            System.out.println(size + " " + 0);
        }
    }
}