import itertools
import math
import fractions
import functools
import copy

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

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

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

print(w*h/2,ans)
