# -*- coding: utf-8 -*-
"""
Created on Sat Sep 12 11:04:24 2020

@author: liang
"""

W, H, x, y = map(int, input().split())

ans = [0] * 2

ans[0] = H*W/2
if x == W/2 and y == H/2:
    ans[1] = 1
else:
    ans[1] = 0
print(" ".join(map(str, ans))) """
Created on Sat Sep 12 11:04:24 2020

@author: liang
""" W, H, x, y = map(int, input().split()) W map(int, input().split()) map int input().split() ().split () input split H x y ans = [0] * 2 ans [0] * 2 [0] 0 2 ans[0] = H*W/2 ans[0] ans 0 H*W/2 H*W H W 2 if x == W/2 and y == H/2:
    ans[1] = 1
else:
    ans[1] = 0 x == W/2 and y == H/2 x == W/2 x W/2 W 2 y == H/2 y H/2 H 2 ans[1] = 1 ans[1] ans 1 1 ans[1] = 0 ans[1] ans 1 0 print(" ".join(map(str, ans))) print " ".join(map(str, ans)) " ".join " " join map(str, ans) map str ans H, x, y = map(int, input().split()) map(int, input().split()) H y = map(int, input().split()) map(int, input().split()) y W, H, x, y = map(int, input().split()) map(int, input().split()) W ans = [0] * 2 [0] * 2 ans x, y = map(int, input().split()) map(int, input().split()) x
# -*- coding: utf-8 -*-
"""
Created on Sat Sep 12 11:04:24 2020

@author: liang
"""

W, H, x, y = map(int, input().split())

ans = [0] * 2

ans[0] = H*W/2
if x == W/2 and y == H/2:
    ans[1] = 1
else:
    ans[1] = 0
print(" ".join(map(str, ans)))