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

if h % 2 == 0 and h // 2 == y and w % 2 == 0 and w // 2 == x:
    print('{:.10}'.format(h * w / 2), 1)
else:
    print('{:.10}'.format(h * w / 2), 0) w, h,  x,  y = map(int, input().split()) w map(int, input().split()) map int input().split() ().split () input split h x y if h % 2 == 0 and h // 2 == y and w % 2 == 0 and w // 2 == x:
    print('{:.10}'.format(h * w / 2), 1)
else:
    print('{:.10}'.format(h * w / 2), 0) h % 2 == 0 and h // 2 == y and w % 2 == 0 and w // 2 == x h % 2 == 0 and h // 2 == y and w % 2 == 0 h % 2 == 0 and h // 2 == y h % 2 == 0 h % 2 h 2 0 h // 2 == y h // 2 h 2 y w % 2 == 0 w % 2 w 2 0 w // 2 == x w // 2 w 2 x print('{:.10}'.format(h * w / 2), 1) print '{:.10}'.format(h * w / 2) '{:.10}'.format '{:.10}' format h * w / 2 h * w h w 2 1 print('{:.10}'.format(h * w / 2), 0) print '{:.10}'.format(h * w / 2) '{:.10}'.format '{:.10}' format h * w / 2 h * w h w 2 0 y = map(int, input().split()) map(int, input().split()) y w, h,  x,  y = map(int, input().split()) map(int, input().split()) w h,  x,  y = map(int, input().split()) map(int, input().split()) h x,  y = map(int, input().split()) map(int, input().split()) x
w, h,  x,  y = map(int, input().split())

if h % 2 == 0 and h // 2 == y and w % 2 == 0 and w // 2 == x:
    print('{:.10}'.format(h * w / 2), 1)
else:
    print('{:.10}'.format(h * w / 2), 0)
