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

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] s1 = sc.nextLine().split(" ");
        BigDecimal w=new BigDecimal( s1[0] );
        BigDecimal h=new BigDecimal( s1[1] );
        BigDecimal x=new BigDecimal( s1[2] );
        BigDecimal y=new BigDecimal( s1[3] );

        BigDecimal bd = w.multiply(h).divide(new BigDecimal(2));
        BigDecimal menseki=bd.setScale(9, BigDecimal.ROUND_DOWN);
        int judge=0;
        if (x.compareTo(w.divide(new BigDecimal(2)))==0 && y.compareTo(h.divide(new BigDecimal(2)))==0) {
        	judge=1;
        }

        System.out.println(menseki + " " + judge);
    }
} import java.math.BigDecimal; BigDecimal java.math import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] s1 = sc.nextLine().split(" ");
        BigDecimal w=new BigDecimal( s1[0] );
        BigDecimal h=new BigDecimal( s1[1] );
        BigDecimal x=new BigDecimal( s1[2] );
        BigDecimal y=new BigDecimal( s1[3] );

        BigDecimal bd = w.multiply(h).divide(new BigDecimal(2));
        BigDecimal menseki=bd.setScale(9, BigDecimal.ROUND_DOWN);
        int judge=0;
        if (x.compareTo(w.divide(new BigDecimal(2)))==0 && y.compareTo(h.divide(new BigDecimal(2)))==0) {
        	judge=1;
        }

        System.out.println(menseki + " " + judge);
    }
} Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] s1 = sc.nextLine().split(" ");
        BigDecimal w=new BigDecimal( s1[0] );
        BigDecimal h=new BigDecimal( s1[1] );
        BigDecimal x=new BigDecimal( s1[2] );
        BigDecimal y=new BigDecimal( s1[3] );

        BigDecimal bd = w.multiply(h).divide(new BigDecimal(2));
        BigDecimal menseki=bd.setScale(9, BigDecimal.ROUND_DOWN);
        int judge=0;
        if (x.compareTo(w.divide(new BigDecimal(2)))==0 && y.compareTo(h.divide(new BigDecimal(2)))==0) {
        	judge=1;
        }

        System.out.println(menseki + " " + judge);
    } main {
        Scanner sc = new Scanner(System.in);
        String[] s1 = sc.nextLine().split(" ");
        BigDecimal w=new BigDecimal( s1[0] );
        BigDecimal h=new BigDecimal( s1[1] );
        BigDecimal x=new BigDecimal( s1[2] );
        BigDecimal y=new BigDecimal( s1[3] );

        BigDecimal bd = w.multiply(h).divide(new BigDecimal(2));
        BigDecimal menseki=bd.setScale(9, BigDecimal.ROUND_DOWN);
        int judge=0;
        if (x.compareTo(w.divide(new BigDecimal(2)))==0 && y.compareTo(h.divide(new BigDecimal(2)))==0) {
        	judge=1;
        }

        System.out.println(menseki + " " + judge);
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) String[] s1 = sc.nextLine().split(" "); s1 sc.nextLine().split(" ") sc.nextLine().split sc.nextLine() sc.nextLine sc " " BigDecimal w=new BigDecimal( s1[0] ); w new BigDecimal( s1[0] ) BigDecimal h=new BigDecimal( s1[1] ); h new BigDecimal( s1[1] ) BigDecimal x=new BigDecimal( s1[2] ); x new BigDecimal( s1[2] ) BigDecimal y=new BigDecimal( s1[3] ); y new BigDecimal( s1[3] ) BigDecimal bd = w.multiply(h).divide(new BigDecimal(2)); bd w.multiply(h).divide(new BigDecimal(2)) w.multiply(h).divide w.multiply(h) w.multiply w h new BigDecimal(2) BigDecimal menseki=bd.setScale(9, BigDecimal.ROUND_DOWN); menseki bd.setScale(9, BigDecimal.ROUND_DOWN) bd.setScale bd 9 BigDecimal.ROUND_DOWN BigDecimal BigDecimal.ROUND_DOWN int judge=0; judge 0 if (x.compareTo(w.divide(new BigDecimal(2)))==0 && y.compareTo(h.divide(new BigDecimal(2)))==0) {
        	judge=1;
        } x.compareTo(w.divide(new BigDecimal(2)))==0 && y.compareTo(h.divide(new BigDecimal(2)))==0 x.compareTo(w.divide(new BigDecimal(2)))==0 x.compareTo(w.divide(new BigDecimal(2))) x.compareTo x w.divide(new BigDecimal(2)) w.divide w new BigDecimal(2) 0 y.compareTo(h.divide(new BigDecimal(2)))==0 y.compareTo(h.divide(new BigDecimal(2))) y.compareTo y h.divide(new BigDecimal(2)) h.divide h new BigDecimal(2) 0 {
        	judge=1;
        } judge=1 judge 1 System.out.println(menseki + " " + judge) System.out.println System.out System System.out menseki + " " + judge menseki + " " + judge menseki " " judge String[] args args public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] s1 = sc.nextLine().split(" ");
        BigDecimal w=new BigDecimal( s1[0] );
        BigDecimal h=new BigDecimal( s1[1] );
        BigDecimal x=new BigDecimal( s1[2] );
        BigDecimal y=new BigDecimal( s1[3] );

        BigDecimal bd = w.multiply(h).divide(new BigDecimal(2));
        BigDecimal menseki=bd.setScale(9, BigDecimal.ROUND_DOWN);
        int judge=0;
        if (x.compareTo(w.divide(new BigDecimal(2)))==0 && y.compareTo(h.divide(new BigDecimal(2)))==0) {
        	judge=1;
        }

        System.out.println(menseki + " " + judge);
    }
} public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] s1 = sc.nextLine().split(" ");
        BigDecimal w=new BigDecimal( s1[0] );
        BigDecimal h=new BigDecimal( s1[1] );
        BigDecimal x=new BigDecimal( s1[2] );
        BigDecimal y=new BigDecimal( s1[3] );

        BigDecimal bd = w.multiply(h).divide(new BigDecimal(2));
        BigDecimal menseki=bd.setScale(9, BigDecimal.ROUND_DOWN);
        int judge=0;
        if (x.compareTo(w.divide(new BigDecimal(2)))==0 && y.compareTo(h.divide(new BigDecimal(2)))==0) {
        	judge=1;
        }

        System.out.println(menseki + " " + judge);
    }
} Main

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

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String[] s1 = sc.nextLine().split(" ");
        BigDecimal w=new BigDecimal( s1[0] );
        BigDecimal h=new BigDecimal( s1[1] );
        BigDecimal x=new BigDecimal( s1[2] );
        BigDecimal y=new BigDecimal( s1[3] );

        BigDecimal bd = w.multiply(h).divide(new BigDecimal(2));
        BigDecimal menseki=bd.setScale(9, BigDecimal.ROUND_DOWN);
        int judge=0;
        if (x.compareTo(w.divide(new BigDecimal(2)))==0 && y.compareTo(h.divide(new BigDecimal(2)))==0) {
        	judge=1;
        }

        System.out.println(menseki + " " + judge);
    }
}