# -*- coding: utf-8 -*-

w, h, x, y = map(int, input().split())

def multi(w, h, x, y):
    core = (w/2, h/2)
    if (x == core[0])^(y == core[1]):
        return False
    elif x == core[0]:
        return True
    else:
        return False

print(w*h/2, 1 if multi(w, h, x, y) else 0) w, h, x, y = map(int, input().split()) w map(int, input().split()) map int input().split() ().split () input split h x y def multi(w, h, x, y):
    core = (w/2, h/2)
    if (x == core[0])^(y == core[1]):
        return False
    elif x == core[0]:
        return True
    else:
        return False multi core = (w/2, h/2) core (w/2, h/2) w/2 w 2 h/2 h 2 if (x == core[0])^(y == core[1]):
        return False
    elif x == core[0]:
        return True
    else:
        return False (x == core[0])^(y == core[1]) x == core[0] x core[0] core 0 y == core[1] y core[1] core 1 return False False elif x == core[0]:
        return True
     x == core[0] x core[0] core 0 return True True return False False w w h h x x y y print(w*h/2, 1 if multi(w, h, x, y) else 0) print w*h/2 w*h w h 2 1 if multi(w, h, x, y) else 0 multi(w, h, x, y) multi w h x y 1 0 x, y = map(int, input().split()) map(int, input().split()) x 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 def multi(w, h, x, y):
    core = (w/2, h/2)
    if (x == core[0])^(y == core[1]):
        return False
    elif x == core[0]:
        return True
    else:
        return False def multi(w, h, x, y):
    core = (w/2, h/2)
    if (x == core[0])^(y == core[1]):
        return False
    elif x == core[0]:
        return True
    else:
        return False multi y = map(int, input().split()) map(int, input().split()) y
# -*- coding: utf-8 -*-

w, h, x, y = map(int, input().split())

def multi(w, h, x, y):
    core = (w/2, h/2)
    if (x == core[0])^(y == core[1]):
        return False
    elif x == core[0]:
        return True
    else:
        return False

print(w*h/2, 1 if multi(w, h, x, y) else 0)
