#include<stdio.h>
int main()
{   long long n,m,x,y;
  double s;
	while(~scanf("%lld%lld%lld%lld",&n,&m,&x,&y))
	{    s=n*m/2.0; 
        if(n%2==0&&m%2==0&&n/2==x&&m/2==y)
        {
		printf("%.6lf 1\n",s);
		                      
        }
        else
        {
        	printf("%.6lf 0\n",s);
		
		}
		
	} 
}