from collections import defaultdict
from collections import deque
import itertools
import math

def readInt():
	return int(input())
def readInts():
	return list(map(int, input().split()))
def readChar():
	return input()
def readChars():
	return input().split()

w,h,x,y = readInts()

if x==w/2 and y==h/2:
	d = 1
else:
	d = 0

print(w*h/2,d) from collections import defaultdict from collections import deque import itertools itertools import math math def readInt():
	return int(input()) readInt return int(input()) int(input()) int input() input def readInts():
	return list(map(int, input().split())) readInts return list(map(int, input().split())) list(map(int, input().split())) list map(int, input().split()) map int input().split() ().split () input split def readChar():
	return input() readChar return input() input() input def readChars():
	return input().split() readChars return input().split() input().split() ().split () input split w,h,x,y = readInts() w readInts() readInts h x y if x==w/2 and y==h/2:
	d = 1
else:
	d = 0 x==w/2 and y==h/2 x==w/2 x w/2 w 2 y==h/2 y h/2 h 2 d = 1 d 1 d = 0 d 0 print(w*h/2,d) print w*h/2 w*h w h 2 d def readInt():
	return int(input()) def readInt():
	return int(input()) readInt def readChars():
	return input().split() def readChars():
	return input().split() readChars w,h,x,y = readInts() readInts() w d = 0 0 d d = 1 1 d h,x,y = readInts() readInts() h y = readInts() readInts() y def readChar():
	return input() def readChar():
	return input() readChar def readInts():
	return list(map(int, input().split())) def readInts():
	return list(map(int, input().split())) readInts x,y = readInts() readInts() x
from collections import defaultdict
from collections import deque
import itertools
import math

def readInt():
	return int(input())
def readInts():
	return list(map(int, input().split()))
def readChar():
	return input()
def readChars():
	return input().split()

w,h,x,y = readInts()

if x==w/2 and y==h/2:
	d = 1
else:
	d = 0

print(w*h/2,d)