import java.io.*;
import java.util.*;

public class Main {
    PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] args) throws Exception {
        Main main = new Main();
//        main.solve();
        System.out.println(main.solve());
    }
    // greed. No need for advanced structure. A simply deque would work.
    long solve(){
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong(), H = sc.nextLong(), x = sc.nextLong(), y = sc.nextLong();
        double w = (double) W, h = (double) H;
        System.out.print(String.format("%f ",w*h/2.0));
        boolean ans = W==x*2 && H == y*2;
        int res = ans?1:0;
        System.out.println(res);
        System.exit(0);
        return 0;
    }
}
 import java.io.*; io.* java import java.util.*; util.* java public class Main {
    PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] args) throws Exception {
        Main main = new Main();
//        main.solve();
        System.out.println(main.solve());
    }
    // greed. No need for advanced structure. A simply deque would work.
    long solve(){
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong(), H = sc.nextLong(), x = sc.nextLong(), y = sc.nextLong();
        double w = (double) W, h = (double) H;
        System.out.print(String.format("%f ",w*h/2.0));
        boolean ans = W==x*2 && H == y*2;
        int res = ans?1:0;
        System.out.println(res);
        System.exit(0);
        return 0;
    }
} Main PrintWriter out = new PrintWriter(System.out); out new PrintWriter(System.out) public static void main(String[] args) throws Exception {
        Main main = new Main();
//        main.solve();
        System.out.println(main.solve());
    } main {
        Main main = new Main();
//        main.solve();
        System.out.println(main.solve());
    } Main main = new Main(); main new Main() System.out.println(main.solve()) System.out.println System.out System System.out main.solve() main.solve main String[] args args // greed. No need for advanced structure. A simply deque would work.
    long solve(){
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong(), H = sc.nextLong(), x = sc.nextLong(), y = sc.nextLong();
        double w = (double) W, h = (double) H;
        System.out.print(String.format("%f ",w*h/2.0));
        boolean ans = W==x*2 && H == y*2;
        int res = ans?1:0;
        System.out.println(res);
        System.exit(0);
        return 0;
    } solve {
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong(), H = sc.nextLong(), x = sc.nextLong(), y = sc.nextLong();
        double w = (double) W, h = (double) H;
        System.out.print(String.format("%f ",w*h/2.0));
        boolean ans = W==x*2 && H == y*2;
        int res = ans?1:0;
        System.out.println(res);
        System.exit(0);
        return 0;
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long W = sc.nextLong() W sc.nextLong() sc.nextLong sc H = sc.nextLong() H sc.nextLong() sc.nextLong sc x = sc.nextLong() x sc.nextLong() sc.nextLong sc y = sc.nextLong(); y sc.nextLong() sc.nextLong sc double w = (double) W w (double) W h = (double) H; h (double) H System.out.print(String.format("%f ",w*h/2.0)) System.out.print System.out System System.out String.format("%f ",w*h/2.0) String.format String "%f " w*h/2.0 w*h w h 2.0 boolean ans = W==x*2 && H == y*2; ans W==x*2 && H == y*2 W==x*2 W x*2 x 2 H == y*2 H y*2 y 2 int res = ans?1:0; res ans?1:0 ans 1 0 System.out.println(res) System.out.println System.out System System.out res System.exit(0) System.exit System 0 return 0; 0 public class Main {
    PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] args) throws Exception {
        Main main = new Main();
//        main.solve();
        System.out.println(main.solve());
    }
    // greed. No need for advanced structure. A simply deque would work.
    long solve(){
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong(), H = sc.nextLong(), x = sc.nextLong(), y = sc.nextLong();
        double w = (double) W, h = (double) H;
        System.out.print(String.format("%f ",w*h/2.0));
        boolean ans = W==x*2 && H == y*2;
        int res = ans?1:0;
        System.out.println(res);
        System.exit(0);
        return 0;
    }
} public class Main {
    PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] args) throws Exception {
        Main main = new Main();
//        main.solve();
        System.out.println(main.solve());
    }
    // greed. No need for advanced structure. A simply deque would work.
    long solve(){
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong(), H = sc.nextLong(), x = sc.nextLong(), y = sc.nextLong();
        double w = (double) W, h = (double) H;
        System.out.print(String.format("%f ",w*h/2.0));
        boolean ans = W==x*2 && H == y*2;
        int res = ans?1:0;
        System.out.println(res);
        System.exit(0);
        return 0;
    }
} Main
import java.io.*;
import java.util.*;

public class Main {
    PrintWriter out = new PrintWriter(System.out);
    public static void main(String[] args) throws Exception {
        Main main = new Main();
//        main.solve();
        System.out.println(main.solve());
    }
    // greed. No need for advanced structure. A simply deque would work.
    long solve(){
        Scanner sc = new Scanner(System.in);
        long W = sc.nextLong(), H = sc.nextLong(), x = sc.nextLong(), y = sc.nextLong();
        double w = (double) W, h = (double) H;
        System.out.print(String.format("%f ",w*h/2.0));
        boolean ans = W==x*2 && H == y*2;
        int res = ans?1:0;
        System.out.println(res);
        System.exit(0);
        return 0;
    }
}

