import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner scan = new Scanner(System.in);
        long w = Integer.parseInt(scan.next());
        long h = Integer.parseInt(scan.next());
        long x = Integer.parseInt(scan.next());
        long y = Integer.parseInt(scan.next());
        
        if((2*x == w)&& (2*y == h)){
            System.out.println(w * h / 2.0 + " 1");
        }else{
            System.out.println(w * h / 2.0 + " 0");
        }
    }
} import java.util.*; util.* java public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner scan = new Scanner(System.in);
        long w = Integer.parseInt(scan.next());
        long h = Integer.parseInt(scan.next());
        long x = Integer.parseInt(scan.next());
        long y = Integer.parseInt(scan.next());
        
        if((2*x == w)&& (2*y == h)){
            System.out.println(w * h / 2.0 + " 1");
        }else{
            System.out.println(w * h / 2.0 + " 0");
        }
    }
} Main public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner scan = new Scanner(System.in);
        long w = Integer.parseInt(scan.next());
        long h = Integer.parseInt(scan.next());
        long x = Integer.parseInt(scan.next());
        long y = Integer.parseInt(scan.next());
        
        if((2*x == w)&& (2*y == h)){
            System.out.println(w * h / 2.0 + " 1");
        }else{
            System.out.println(w * h / 2.0 + " 0");
        }
    } main {
        // Your code here!
        Scanner scan = new Scanner(System.in);
        long w = Integer.parseInt(scan.next());
        long h = Integer.parseInt(scan.next());
        long x = Integer.parseInt(scan.next());
        long y = Integer.parseInt(scan.next());
        
        if((2*x == w)&& (2*y == h)){
            System.out.println(w * h / 2.0 + " 1");
        }else{
            System.out.println(w * h / 2.0 + " 0");
        }
    } Scanner scan = new Scanner(System.in); scan new Scanner(System.in) long w = Integer.parseInt(scan.next()); w Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan long h = Integer.parseInt(scan.next()); h Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan long x = Integer.parseInt(scan.next()); x Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan long y = Integer.parseInt(scan.next()); y Integer.parseInt(scan.next()) Integer.parseInt Integer scan.next() scan.next scan if((2*x == w)&& (2*y == h)){
            System.out.println(w * h / 2.0 + " 1");
        }else{
            System.out.println(w * h / 2.0 + " 0");
        } (2*x == w)&& (2*y == h) (2*x == w) 2*x 2 x w (2*y == h) 2*y 2 y h {
            System.out.println(w * h / 2.0 + " 1");
        } System.out.println(w * h / 2.0 + " 1") System.out.println System.out System System.out w * h / 2.0 + " 1" w * h / 2.0 w * h w h 2.0 " 1" {
            System.out.println(w * h / 2.0 + " 0");
        } System.out.println(w * h / 2.0 + " 0") System.out.println System.out System System.out w * h / 2.0 + " 0" w * h / 2.0 w * h w h 2.0 " 0" String[] args args public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner scan = new Scanner(System.in);
        long w = Integer.parseInt(scan.next());
        long h = Integer.parseInt(scan.next());
        long x = Integer.parseInt(scan.next());
        long y = Integer.parseInt(scan.next());
        
        if((2*x == w)&& (2*y == h)){
            System.out.println(w * h / 2.0 + " 1");
        }else{
            System.out.println(w * h / 2.0 + " 0");
        }
    }
} public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner scan = new Scanner(System.in);
        long w = Integer.parseInt(scan.next());
        long h = Integer.parseInt(scan.next());
        long x = Integer.parseInt(scan.next());
        long y = Integer.parseInt(scan.next());
        
        if((2*x == w)&& (2*y == h)){
            System.out.println(w * h / 2.0 + " 1");
        }else{
            System.out.println(w * h / 2.0 + " 0");
        }
    }
} Main
import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        // Your code here!
        Scanner scan = new Scanner(System.in);
        long w = Integer.parseInt(scan.next());
        long h = Integer.parseInt(scan.next());
        long x = Integer.parseInt(scan.next());
        long y = Integer.parseInt(scan.next());
        
        if((2*x == w)&& (2*y == h)){
            System.out.println(w * h / 2.0 + " 1");
        }else{
            System.out.println(w * h / 2.0 + " 0");
        }
    }
}
