
import java.util.Scanner;
public class Main{
    static class song{
        public  song(long a, long b){
            this.a = a;
            this.b = b;
        }
       long a;
        long b;

    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        int lines = 0;
        if(h/2==y && w/2==x){
            lines=1;
        }
        double res = (w * h)/2;
        System.out.println(res+" "+lines);
        }


//        int i = 0;
//        while(true){
//            if(sc.hasNextLine()!=true){
//                sc.close();
//                break;
//            }
//            String str = sc.nextLine();
//            i++;
//            System.out.println(i+" "+str);
//        }
    }
 import java.util.Scanner; Scanner java.util public class Main{
    static class song{
        public  song(long a, long b){
            this.a = a;
            this.b = b;
        }
       long a;
        long b;

    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        int lines = 0;
        if(h/2==y && w/2==x){
            lines=1;
        }
        double res = (w * h)/2;
        System.out.println(res+" "+lines);
        }


//        int i = 0;
//        while(true){
//            if(sc.hasNextLine()!=true){
//                sc.close();
//                break;
//            }
//            String str = sc.nextLine();
//            i++;
//            System.out.println(i+" "+str);
//        }
    } Main public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        int lines = 0;
        if(h/2==y && w/2==x){
            lines=1;
        }
        double res = (w * h)/2;
        System.out.println(res+" "+lines);
        } main {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        int lines = 0;
        if(h/2==y && w/2==x){
            lines=1;
        }
        double res = (w * h)/2;
        System.out.println(res+" "+lines);
        } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) double w = sc.nextDouble(); w sc.nextDouble() sc.nextDouble sc double h = sc.nextDouble(); h sc.nextDouble() sc.nextDouble sc double x = sc.nextDouble(); x sc.nextDouble() sc.nextDouble sc double y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc int lines = 0; lines 0 if(h/2==y && w/2==x){
            lines=1;
        } h/2==y && w/2==x h/2==y h/2 h 2 y w/2==x w/2 w 2 x {
            lines=1;
        } lines=1 lines 1 double res = (w * h)/2; res (w * h)/2 (w * h) w h 2 System.out.println(res+" "+lines) System.out.println System.out System System.out res+" "+lines res+" "+lines res " " lines String[] args args static class song{
        public  song(long a, long b){
            this.a = a;
            this.b = b;
        }
       long a;
        long b;

    } song long a; a long b; b public  song(long a, long b){
            this.a = a;
            this.b = b;
        } song {
            this.a = a;
            this.b = b;
        } this.a = a this.a this this.a a this.b = b this.b this this.b b long a a long b b public class Main{
    static class song{
        public  song(long a, long b){
            this.a = a;
            this.b = b;
        }
       long a;
        long b;

    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        int lines = 0;
        if(h/2==y && w/2==x){
            lines=1;
        }
        double res = (w * h)/2;
        System.out.println(res+" "+lines);
        }


//        int i = 0;
//        while(true){
//            if(sc.hasNextLine()!=true){
//                sc.close();
//                break;
//            }
//            String str = sc.nextLine();
//            i++;
//            System.out.println(i+" "+str);
//        }
    } public class Main{
    static class song{
        public  song(long a, long b){
            this.a = a;
            this.b = b;
        }
       long a;
        long b;

    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        int lines = 0;
        if(h/2==y && w/2==x){
            lines=1;
        }
        double res = (w * h)/2;
        System.out.println(res+" "+lines);
        }


//        int i = 0;
//        while(true){
//            if(sc.hasNextLine()!=true){
//                sc.close();
//                break;
//            }
//            String str = sc.nextLine();
//            i++;
//            System.out.println(i+" "+str);
//        }
    } Main

import java.util.Scanner;
public class Main{
    static class song{
        public  song(long a, long b){
            this.a = a;
            this.b = b;
        }
       long a;
        long b;

    }

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        double w = sc.nextDouble();
        double h = sc.nextDouble();
        double x = sc.nextDouble();
        double y = sc.nextDouble();
        int lines = 0;
        if(h/2==y && w/2==x){
            lines=1;
        }
        double res = (w * h)/2;
        System.out.println(res+" "+lines);
        }


//        int i = 0;
//        while(true){
//            if(sc.hasNextLine()!=true){
//                sc.close();
//                break;
//            }
//            String str = sc.nextLine();
//            i++;
//            System.out.println(i+" "+str);
//        }
    }

