import java.util.Scanner;

public class Main {


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.print((double)W*H/2);
        System.out.print(" ");
        if(W%2==0&&H%2==0 && x == W/2 && y == H/2){
            System.out.print(1);
        }else{
            System.out.print(0);
        }

    }

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


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.print((double)W*H/2);
        System.out.print(" ");
        if(W%2==0&&H%2==0 && x == W/2 && y == H/2){
            System.out.print(1);
        }else{
            System.out.print(0);
        }

    }

} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.print((double)W*H/2);
        System.out.print(" ");
        if(W%2==0&&H%2==0 && x == W/2 && y == H/2){
            System.out.print(1);
        }else{
            System.out.print(0);
        }

    } main {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.print((double)W*H/2);
        System.out.print(" ");
        if(W%2==0&&H%2==0 && x == W/2 && y == H/2){
            System.out.print(1);
        }else{
            System.out.print(0);
        }

    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int W = sc.nextInt(); W sc.nextInt() sc.nextInt sc int H = sc.nextInt(); H sc.nextInt() sc.nextInt sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc System.out.print((double)W*H/2) System.out.print System.out System System.out (double)W*H/2 (double)W*H (double)W H 2 System.out.print(" ") System.out.print System.out System System.out " " if(W%2==0&&H%2==0 && x == W/2 && y == H/2){
            System.out.print(1);
        }else{
            System.out.print(0);
        } W%2==0&&H%2==0 && x == W/2 && y == H/2 x == W/2 W%2==0&&H%2==0 && x == W/2 && y == H/2 W%2==0 W%2 W 2 0 H%2==0 H%2 H 2 0 x == W/2 x W/2 W 2 y == H/2 y H/2 H 2 {
            System.out.print(1);
        } System.out.print(1) System.out.print System.out System System.out 1 {
            System.out.print(0);
        } System.out.print(0) System.out.print System.out System System.out 0 String[] args args public class Main {


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.print((double)W*H/2);
        System.out.print(" ");
        if(W%2==0&&H%2==0 && x == W/2 && y == H/2){
            System.out.print(1);
        }else{
            System.out.print(0);
        }

    }

} public class Main {


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.print((double)W*H/2);
        System.out.print(" ");
        if(W%2==0&&H%2==0 && x == W/2 && y == H/2){
            System.out.print(1);
        }else{
            System.out.print(0);
        }

    }

} Main
import java.util.Scanner;

public class Main {


    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int W = sc.nextInt();
        int H = sc.nextInt();
        int x = sc.nextInt();
        int y = sc.nextInt();

        System.out.print((double)W*H/2);
        System.out.print(" ");
        if(W%2==0&&H%2==0 && x == W/2 && y == H/2){
            System.out.print(1);
        }else{
            System.out.print(0);
        }

    }

}
