from collections import Counter 
from collections import defaultdict
from collections import deque
import math
import itertools
import heapq
import numpy as np
import sys
sys.setrecursionlimit(10**6)

#n=int(input())
#n,m=list(map(int,input().split()))
#a=list(map(int,input().split()))
input_list = lambda : list(map(int,input().split()))


w,h,x,y=input_list()
ans=w*h/2
mul=0
if w==x*2 and h==y*2:
    mul=1

print(ans,mul) from collections import Counter from collections import defaultdict from collections import deque import math math import itertools itertools import heapq heapq import numpy as np numpy import sys sys sys.setrecursionlimit(10**6) sys.setrecursionlimit sys setrecursionlimit 10**6 10 6 input_list = lambda : list(map(int,input().split())) input_list lambda : list(map(int,input().split())) list(map(int,input().split())) list map(int,input().split()) map int input().split() ().split () input split w,h,x,y=input_list() w input_list() input_list h x y ans=w*h/2 ans w*h/2 w*h w h 2 mul=0 mul 0 if w==x*2 and h==y*2:
    mul=1 w==x*2 and h==y*2 w==x*2 w x*2 x 2 h==y*2 h y*2 y 2 mul=1 mul 1 print(ans,mul) print ans mul input_list = lambda : list(map(int,input().split())) lambda : list(map(int,input().split())) input_list h,x,y=input_list() input_list() h w,h,x,y=input_list() input_list() w y=input_list() input_list() y x,y=input_list() input_list() x mul=0 0 mul mul=1 1 mul ans=w*h/2 w*h/2 ans
from collections import Counter 
from collections import defaultdict
from collections import deque
import math
import itertools
import heapq
import numpy as np
import sys
sys.setrecursionlimit(10**6)

#n=int(input())
#n,m=list(map(int,input().split()))
#a=list(map(int,input().split()))
input_list = lambda : list(map(int,input().split()))


w,h,x,y=input_list()
ans=w*h/2
mul=0
if w==x*2 and h==y*2:
    mul=1

print(ans,mul)