import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String args[]) throws Exception{
        BufferedReader stdR = new BufferedReader(new InputStreamReader(System.in));
        String[] s = stdR.readLine().split(" ");
        int W = Integer.parseInt(s[0]);
        int H = Integer.parseInt(s[1]);
        int x = Integer.parseInt(s[2]);
        int y = Integer.parseInt(s[3]);
        double d = (long)W * H / 2d;
        if(x == W / 2d && y == H / 2d) {
            System.out.println(d+" "+1);
        }else {
            System.out.println(d+" "+0);
        }
    }
} import java.io.BufferedReader; BufferedReader java.io import java.io.InputStreamReader; InputStreamReader java.io public class Main {
    public static void main(String args[]) throws Exception{
        BufferedReader stdR = new BufferedReader(new InputStreamReader(System.in));
        String[] s = stdR.readLine().split(" ");
        int W = Integer.parseInt(s[0]);
        int H = Integer.parseInt(s[1]);
        int x = Integer.parseInt(s[2]);
        int y = Integer.parseInt(s[3]);
        double d = (long)W * H / 2d;
        if(x == W / 2d && y == H / 2d) {
            System.out.println(d+" "+1);
        }else {
            System.out.println(d+" "+0);
        }
    }
} Main public static void main(String args[]) throws Exception{
        BufferedReader stdR = new BufferedReader(new InputStreamReader(System.in));
        String[] s = stdR.readLine().split(" ");
        int W = Integer.parseInt(s[0]);
        int H = Integer.parseInt(s[1]);
        int x = Integer.parseInt(s[2]);
        int y = Integer.parseInt(s[3]);
        double d = (long)W * H / 2d;
        if(x == W / 2d && y == H / 2d) {
            System.out.println(d+" "+1);
        }else {
            System.out.println(d+" "+0);
        }
    } main {
        BufferedReader stdR = new BufferedReader(new InputStreamReader(System.in));
        String[] s = stdR.readLine().split(" ");
        int W = Integer.parseInt(s[0]);
        int H = Integer.parseInt(s[1]);
        int x = Integer.parseInt(s[2]);
        int y = Integer.parseInt(s[3]);
        double d = (long)W * H / 2d;
        if(x == W / 2d && y == H / 2d) {
            System.out.println(d+" "+1);
        }else {
            System.out.println(d+" "+0);
        }
    } BufferedReader stdR = new BufferedReader(new InputStreamReader(System.in)); stdR new BufferedReader(new InputStreamReader(System.in)) String[] s = stdR.readLine().split(" "); s stdR.readLine().split(" ") stdR.readLine().split stdR.readLine() stdR.readLine stdR " " int W = Integer.parseInt(s[0]); W Integer.parseInt(s[0]) Integer.parseInt Integer s[0] s 0 int H = Integer.parseInt(s[1]); H Integer.parseInt(s[1]) Integer.parseInt Integer s[1] s 1 int x = Integer.parseInt(s[2]); x Integer.parseInt(s[2]) Integer.parseInt Integer s[2] s 2 int y = Integer.parseInt(s[3]); y Integer.parseInt(s[3]) Integer.parseInt Integer s[3] s 3 double d = (long)W * H / 2d; d (long)W * H / 2d (long)W * H (long)W H 2d if(x == W / 2d && y == H / 2d) {
            System.out.println(d+" "+1);
        }else {
            System.out.println(d+" "+0);
        } x == W / 2d && y == H / 2d x == W / 2d x W / 2d W 2d y == H / 2d y H / 2d H 2d {
            System.out.println(d+" "+1);
        } System.out.println(d+" "+1) System.out.println System.out System System.out d+" "+1 d+" "+1 d " " 1 {
            System.out.println(d+" "+0);
        } System.out.println(d+" "+0) System.out.println System.out System System.out d+" "+0 d+" "+0 d " " 0 String args[] args public class Main {
    public static void main(String args[]) throws Exception{
        BufferedReader stdR = new BufferedReader(new InputStreamReader(System.in));
        String[] s = stdR.readLine().split(" ");
        int W = Integer.parseInt(s[0]);
        int H = Integer.parseInt(s[1]);
        int x = Integer.parseInt(s[2]);
        int y = Integer.parseInt(s[3]);
        double d = (long)W * H / 2d;
        if(x == W / 2d && y == H / 2d) {
            System.out.println(d+" "+1);
        }else {
            System.out.println(d+" "+0);
        }
    }
} public class Main {
    public static void main(String args[]) throws Exception{
        BufferedReader stdR = new BufferedReader(new InputStreamReader(System.in));
        String[] s = stdR.readLine().split(" ");
        int W = Integer.parseInt(s[0]);
        int H = Integer.parseInt(s[1]);
        int x = Integer.parseInt(s[2]);
        int y = Integer.parseInt(s[3]);
        double d = (long)W * H / 2d;
        if(x == W / 2d && y == H / 2d) {
            System.out.println(d+" "+1);
        }else {
            System.out.println(d+" "+0);
        }
    }
} Main
import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Main {
    public static void main(String args[]) throws Exception{
        BufferedReader stdR = new BufferedReader(new InputStreamReader(System.in));
        String[] s = stdR.readLine().split(" ");
        int W = Integer.parseInt(s[0]);
        int H = Integer.parseInt(s[1]);
        int x = Integer.parseInt(s[2]);
        int y = Integer.parseInt(s[3]);
        double d = (long)W * H / 2d;
        if(x == W / 2d && y == H / 2d) {
            System.out.println(d+" "+1);
        }else {
            System.out.println(d+" "+0);
        }
    }
}
