import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

ans = w * h / 2
if x == w / 2 and y == h / 2:
    print(ans, '1')
else:
    print(ans, '0') import sys sys read = sys.stdin.buffer.read read sys.stdin.buffer.read sys.stdin.buffer sys.stdin sys stdin buffer read readline = sys.stdin.buffer.readline readline sys.stdin.buffer.readline sys.stdin.buffer sys.stdin sys stdin buffer readline readlines = sys.stdin.buffer.readlines readlines sys.stdin.buffer.readlines sys.stdin.buffer sys.stdin sys stdin buffer readlines w, h, x, y = map(int, readline().split()) w map(int, readline().split()) map int readline().split() ().split () readline split h x y ans = w * h / 2 ans w * h / 2 w * h w h 2 if x == w / 2 and y == h / 2:
    print(ans, '1')
else:
    print(ans, '0') x == w / 2 and y == h / 2 x == w / 2 x w / 2 w 2 y == h / 2 y h / 2 h 2 print(ans, '1') print ans '1' print(ans, '0') print ans '0' h, x, y = map(int, readline().split()) map(int, readline().split()) h read = sys.stdin.buffer.read sys.stdin.buffer.read read ans = w * h / 2 w * h / 2 ans readlines = sys.stdin.buffer.readlines sys.stdin.buffer.readlines readlines x, y = map(int, readline().split()) map(int, readline().split()) x readline = sys.stdin.buffer.readline sys.stdin.buffer.readline readline y = map(int, readline().split()) map(int, readline().split()) y w, h, x, y = map(int, readline().split()) map(int, readline().split()) w
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

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

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