
import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int w = s.nextInt();
        int h = s.nextInt();
        int x = s.nextInt();
        int y = s.nextInt();
        BigDecimal b = (new BigDecimal(w).multiply(new BigDecimal(h))).divide(new BigDecimal(2),6,BigDecimal.ROUND_HALF_UP);
        System.out.println(b.toPlainString()+" "+((x+x==w&&y+y==h) ? "1":"0"));
    }
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int w = s.nextInt();
        int h = s.nextInt();
        int x = s.nextInt();
        int y = s.nextInt();
        BigDecimal b = (new BigDecimal(w).multiply(new BigDecimal(h))).divide(new BigDecimal(2),6,BigDecimal.ROUND_HALF_UP);
        System.out.println(b.toPlainString()+" "+((x+x==w&&y+y==h) ? "1":"0"));
    }
} Main public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int w = s.nextInt();
        int h = s.nextInt();
        int x = s.nextInt();
        int y = s.nextInt();
        BigDecimal b = (new BigDecimal(w).multiply(new BigDecimal(h))).divide(new BigDecimal(2),6,BigDecimal.ROUND_HALF_UP);
        System.out.println(b.toPlainString()+" "+((x+x==w&&y+y==h) ? "1":"0"));
    } main {
        Scanner s = new Scanner(System.in);
        int w = s.nextInt();
        int h = s.nextInt();
        int x = s.nextInt();
        int y = s.nextInt();
        BigDecimal b = (new BigDecimal(w).multiply(new BigDecimal(h))).divide(new BigDecimal(2),6,BigDecimal.ROUND_HALF_UP);
        System.out.println(b.toPlainString()+" "+((x+x==w&&y+y==h) ? "1":"0"));
    } Scanner s = new Scanner(System.in); s new Scanner(System.in) int w = s.nextInt(); w s.nextInt() s.nextInt s int h = s.nextInt(); h s.nextInt() s.nextInt s int x = s.nextInt(); x s.nextInt() s.nextInt s int y = s.nextInt(); y s.nextInt() s.nextInt s BigDecimal b = (new BigDecimal(w).multiply(new BigDecimal(h))).divide(new BigDecimal(2),6,BigDecimal.ROUND_HALF_UP); b (new BigDecimal(w).multiply(new BigDecimal(h))).divide(new BigDecimal(2),6,BigDecimal.ROUND_HALF_UP) (new BigDecimal(w).multiply(new BigDecimal(h))).divide (new BigDecimal(w).multiply(new BigDecimal(h))) new BigDecimal(w).multiply new BigDecimal(w) new BigDecimal(h) new BigDecimal(2) 6 BigDecimal.ROUND_HALF_UP BigDecimal BigDecimal.ROUND_HALF_UP System.out.println(b.toPlainString()+" "+((x+x==w&&y+y==h) ? "1":"0")) System.out.println System.out System System.out b.toPlainString()+" "+((x+x==w&&y+y==h) ? "1":"0") b.toPlainString()+" "+((x+x==w&&y+y==h) ? "1":"0") b.toPlainString() b.toPlainString b " " ((x+x==w&&y+y==h) ? "1":"0") (x+x==w&&y+y==h) x+x==w x+x x x w y+y==h y+y y y h "1" "0" String[] args args public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int w = s.nextInt();
        int h = s.nextInt();
        int x = s.nextInt();
        int y = s.nextInt();
        BigDecimal b = (new BigDecimal(w).multiply(new BigDecimal(h))).divide(new BigDecimal(2),6,BigDecimal.ROUND_HALF_UP);
        System.out.println(b.toPlainString()+" "+((x+x==w&&y+y==h) ? "1":"0"));
    }
} public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int w = s.nextInt();
        int h = s.nextInt();
        int x = s.nextInt();
        int y = s.nextInt();
        BigDecimal b = (new BigDecimal(w).multiply(new BigDecimal(h))).divide(new BigDecimal(2),6,BigDecimal.ROUND_HALF_UP);
        System.out.println(b.toPlainString()+" "+((x+x==w&&y+y==h) ? "1":"0"));
    }
} Main

import java.math.BigDecimal;
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);
        int w = s.nextInt();
        int h = s.nextInt();
        int x = s.nextInt();
        int y = s.nextInt();
        BigDecimal b = (new BigDecimal(w).multiply(new BigDecimal(h))).divide(new BigDecimal(2),6,BigDecimal.ROUND_HALF_UP);
        System.out.println(b.toPlainString()+" "+((x+x==w&&y+y==h) ? "1":"0"));
    }
}
