import collections
import numpy as np
import sys
import copy

W,H,X,Y=map(int,input().split())
#A=list(map(int,input().split()))

if W/2==X and H/2==Y:
    print(X*H,1)


else:
    print(H*W/2,0) import collections collections import numpy as np numpy import sys sys import copy copy W,H,X,Y=map(int,input().split()) W map(int,input().split()) map int input().split() ().split () input split H X Y if W/2==X and H/2==Y:
    print(X*H,1)


else:
    print(H*W/2,0) W/2==X and H/2==Y W/2==X W/2 W 2 X H/2==Y H/2 H 2 Y print(X*H,1) print X*H X H 1 print(H*W/2,0) print H*W/2 H*W H W 2 0 Y=map(int,input().split()) map(int,input().split()) Y H,X,Y=map(int,input().split()) map(int,input().split()) H W,H,X,Y=map(int,input().split()) map(int,input().split()) W X,Y=map(int,input().split()) map(int,input().split()) X
import collections
import numpy as np
import sys
import copy

W,H,X,Y=map(int,input().split())
#A=list(map(int,input().split()))

if W/2==X and H/2==Y:
    print(X*H,1)


else:
    print(H*W/2,0)