n, m, t, s = gets.chomp.split.map(&:to_i)
res = 0
count = 0

if (n/2-t).abs <= (m/2-s).abs
	res = (n/2.0-(n/2.0-t).abs)*m
else
	res = (m/2.0-(m/2.0-s).abs)*n
end

if n == 2*t && m == s*2
	count = 1
end

puts "#{res} #{count}"