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

flag = 0

if x * 2 == w and y * 2 == h:
    flag = 1

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

flag = 0

if x * 2 == w and y * 2 == h:
    flag = 1

print(w * h / 2, flag)