import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        double s = w /2.0 * h;
        int hasMany = (x*2==w && y*2==h) ? 1 : 0;
        System.out.print(s);
        System.out.print(" ");
        System.out.print(hasMany);
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        double s = w /2.0 * h;
        int hasMany = (x*2==w && y*2==h) ? 1 : 0;
        System.out.print(s);
        System.out.print(" ");
        System.out.print(hasMany);
    }
} Main public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        double s = w /2.0 * h;
        int hasMany = (x*2==w && y*2==h) ? 1 : 0;
        System.out.print(s);
        System.out.print(" ");
        System.out.print(hasMany);
    } main {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        double s = w /2.0 * h;
        int hasMany = (x*2==w && y*2==h) ? 1 : 0;
        System.out.print(s);
        System.out.print(" ");
        System.out.print(hasMany);
    } Scanner in = new Scanner(System.in); in new Scanner(System.in) long w = in.nextLong(); w in.nextLong() in.nextLong in long h = in.nextLong(); h in.nextLong() in.nextLong in long x = in.nextLong(); x in.nextLong() in.nextLong in long y = in.nextLong(); y in.nextLong() in.nextLong in double s = w /2.0 * h; s w /2.0 * h w /2.0 w 2.0 h int hasMany = (x*2==w && y*2==h) ? 1 : 0; hasMany (x*2==w && y*2==h) ? 1 : 0 (x*2==w && y*2==h) x*2==w x*2 x 2 w y*2==h y*2 y 2 h 1 0 System.out.print(s) System.out.print System.out System System.out s System.out.print(" ") System.out.print System.out System System.out " " System.out.print(hasMany) System.out.print System.out System System.out hasMany String[] args args public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        double s = w /2.0 * h;
        int hasMany = (x*2==w && y*2==h) ? 1 : 0;
        System.out.print(s);
        System.out.print(" ");
        System.out.print(hasMany);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        double s = w /2.0 * h;
        int hasMany = (x*2==w && y*2==h) ? 1 : 0;
        System.out.print(s);
        System.out.print(" ");
        System.out.print(hasMany);
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long w = in.nextLong();
        long h = in.nextLong();
        long x = in.nextLong();
        long y = in.nextLong();
        double s = w /2.0 * h;
        int hasMany = (x*2==w && y*2==h) ? 1 : 0;
        System.out.print(s);
        System.out.print(" ");
        System.out.print(hasMany);
    }
}
