import java.util.*;

public class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        //final int n = sc.nextInt();
        final double w = sc.nextDouble();
        final double h = sc.nextDouble();
        final double x = sc.nextDouble();
        final double y = sc.nextDouble();

        final double ansArea = (w*h)/2;
        int ansPattern = 0;
        if (x*2 == w && y*2 == h) ansPattern = 1;
        System.out.println(ansArea+" "+ansPattern);

        sc.close();
    }
} import java.util.*; util.* java public class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        //final int n = sc.nextInt();
        final double w = sc.nextDouble();
        final double h = sc.nextDouble();
        final double x = sc.nextDouble();
        final double y = sc.nextDouble();

        final double ansArea = (w*h)/2;
        int ansPattern = 0;
        if (x*2 == w && y*2 == h) ansPattern = 1;
        System.out.println(ansArea+" "+ansPattern);

        sc.close();
    }
} Main public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        //final int n = sc.nextInt();
        final double w = sc.nextDouble();
        final double h = sc.nextDouble();
        final double x = sc.nextDouble();
        final double y = sc.nextDouble();

        final double ansArea = (w*h)/2;
        int ansPattern = 0;
        if (x*2 == w && y*2 == h) ansPattern = 1;
        System.out.println(ansArea+" "+ansPattern);

        sc.close();
    } main {
        Scanner sc = new Scanner(System.in);
        //final int n = sc.nextInt();
        final double w = sc.nextDouble();
        final double h = sc.nextDouble();
        final double x = sc.nextDouble();
        final double y = sc.nextDouble();

        final double ansArea = (w*h)/2;
        int ansPattern = 0;
        if (x*2 == w && y*2 == h) ansPattern = 1;
        System.out.println(ansArea+" "+ansPattern);

        sc.close();
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) final double w = sc.nextDouble(); w sc.nextDouble() sc.nextDouble sc final double h = sc.nextDouble(); h sc.nextDouble() sc.nextDouble sc final double x = sc.nextDouble(); x sc.nextDouble() sc.nextDouble sc final double y = sc.nextDouble(); y sc.nextDouble() sc.nextDouble sc final double ansArea = (w*h)/2; ansArea (w*h)/2 (w*h) w h 2 int ansPattern = 0; ansPattern 0 if (x*2 == w && y*2 == h) ansPattern = 1; x*2 == w && y*2 == h x*2 == w x*2 x 2 w y*2 == h y*2 y 2 h ansPattern = 1 ansPattern 1 System.out.println(ansArea+" "+ansPattern) System.out.println System.out System System.out ansArea+" "+ansPattern ansArea+" "+ansPattern ansArea " " ansPattern sc.close() sc.close sc String[] args args public class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        //final int n = sc.nextInt();
        final double w = sc.nextDouble();
        final double h = sc.nextDouble();
        final double x = sc.nextDouble();
        final double y = sc.nextDouble();

        final double ansArea = (w*h)/2;
        int ansPattern = 0;
        if (x*2 == w && y*2 == h) ansPattern = 1;
        System.out.println(ansArea+" "+ansPattern);

        sc.close();
    }
} public class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        //final int n = sc.nextInt();
        final double w = sc.nextDouble();
        final double h = sc.nextDouble();
        final double x = sc.nextDouble();
        final double y = sc.nextDouble();

        final double ansArea = (w*h)/2;
        int ansPattern = 0;
        if (x*2 == w && y*2 == h) ansPattern = 1;
        System.out.println(ansArea+" "+ansPattern);

        sc.close();
    }
} Main
import java.util.*;

public class Main
{
    public static void main(String[] args)
    {
        Scanner sc = new Scanner(System.in);
        //final int n = sc.nextInt();
        final double w = sc.nextDouble();
        final double h = sc.nextDouble();
        final double x = sc.nextDouble();
        final double y = sc.nextDouble();

        final double ansArea = (w*h)/2;
        int ansPattern = 0;
        if (x*2 == w && y*2 == h) ansPattern = 1;
        System.out.println(ansArea+" "+ansPattern);

        sc.close();
    }
}