Public Class Program
  Shared Sub Main()
    Dim whxy As Long() = Array.ConvertAll(Of String, Long)(Console.ReadLine().Split(" "), AddressOf Long.Parse)
    Dim w As Long = whxy(0)
    Dim h As Long = whxy(1)
    Dim x As Long = whxy(2)
    Dim y As Long = whxy(3)
    Dim s As Double = w * h / 2
    Dim output As String = s.ToString("F")
    If w / 2 = x AndAlso h / 2 = y Then
      output &= " 1"
    Else
      output &= " 0"
    End If
    Console.WriteLine(output)
  End Sub
End Class