import math

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

if w == x * 2 and h == y * 2:
    print(w * h / 2, 1)
else:
    print(w * h / 2, 0) import math math 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 == x * 2 and h == y * 2:
    print(w * h / 2, 1)
else:
    print(w * h / 2, 0) w == x * 2 and h == y * 2 w == x * 2 w x * 2 x 2 h == y * 2 h y * 2 y 2 print(w * h / 2, 1) print w * h / 2 w * h w h 2 1 print(w * h / 2, 0) print w * h / 2 w * h w h 2 0 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 x, y = map(int, input().split(" ")) map(int, input().split(" ")) x
import math

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

if w == x * 2 and h == y * 2:
    print(w * h / 2, 1)
else:
    print(w * h / 2, 0)