/******************************************************************************

                            Online C Compiler.
                Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.

*******************************************************************************/

#include <stdio.h>

int A[100];
int main(void) {
 
    long double w,h,x,y;
    long double a;
    scanf("%llf %llf %llf %llf",&w,&h,&x,&y);
    a = w*h/2;
    int b = 0;
    if(w/2==x&&h/2==y)b=1;
    else b=0;
    printf("%.9llf %d",a,b);
    return 0;
}
