#!/usr/bin/ruby
# encoding: utf-8

# input
W,H,x,y = gets.split.map(&:to_i)

w_center = W.to_f/2
h_center = H.to_f/2

ans1 = (W.to_f * H.to_f)/2

if x == w_center and y == h_center
  ans2 = 1
else 
  ans2 = 0
end

puts "#{ans1} #{ans2}"
