w,h,x,y=map(int,input().split())
flag=0
if w%2==0 and h%2==0:
  if x == w //2 and y == h // 2:
    flag = 1
s=w*h
print(s/2,flag)
   w,h,x,y=map(int,input().split()) w map(int,input().split()) map int input().split() ().split () input split h x y flag=0 flag 0 if w%2==0 and h%2==0:
  if x == w //2 and y == h // 2:
    flag = 1 w%2==0 and h%2==0 w%2==0 w%2 w 2 0 h%2==0 h%2 h 2 0 if x == w //2 and y == h // 2:
    flag = 1 x == w //2 and y == h // 2 x == w //2 x w //2 w 2 y == h // 2 y h // 2 h 2 flag = 1 flag 1 s=w*h s w*h w h print(s/2,flag) print s/2 s 2 flag w,h,x,y=map(int,input().split()) map(int,input().split()) w y=map(int,input().split()) map(int,input().split()) y h,x,y=map(int,input().split()) map(int,input().split()) h flag = 1 1 flag x,y=map(int,input().split()) map(int,input().split()) x flag=0 0 flag s=w*h w*h s
w,h,x,y=map(int,input().split())
flag=0
if w%2==0 and h%2==0:
  if x == w //2 and y == h // 2:
    flag = 1
s=w*h
print(s/2,flag)
  
