# -*- coding: utf-8 -*-
import sys
from collections import deque, defaultdict
from math import sqrt, factorial, gcd
# def input(): return sys.stdin.readline()[:-1] # warning not \n
# def input(): return sys.stdin.buffer.readline().strip() # warning bytes
# def input(): return sys.stdin.buffer.readline().decode('utf-8')


def solve():
    w, h, x, y = [int(x) for x in input().split()]
    print((w*h)/2, int(w == 2 * x and h == 2 * y))

        



t = 1
# t = int(input())
for case in range(1,t+1):
    ans = solve()


"""



""" import sys sys from collections import deque, defaultdict from math import sqrt, factorial, gcd def solve():
    w, h, x, y = [int(x) for x in input().split()]
    print((w*h)/2, int(w == 2 * x and h == 2 * y))

         solve int(x) for x in input().split() for x in input().split() x input().split() ().split () input split for x in input().split() int(x) int x w, h, x, y = [int(x) for x in input().split()] w [int(x) for x in input().split()] h x y print((w*h)/2, int(w == 2 * x and h == 2 * y)) print (w*h)/2 w*h w h 2 int(w == 2 * x and h == 2 * y) int w == 2 * x and h == 2 * y w == 2 * x w 2 * x 2 x h == 2 * y h 2 * y 2 y t = 1 t 1 for case in range(1,t+1):
    ans = solve() case range(1,t+1) range 1 t+1 t 1 ans = solve() ans solve() solve """



""" t = 1 1 t ans = solve() solve() ans def solve():
    w, h, x, y = [int(x) for x in input().split()]
    print((w*h)/2, int(w == 2 * x and h == 2 * y))

         def solve():
    w, h, x, y = [int(x) for x in input().split()]
    print((w*h)/2, int(w == 2 * x and h == 2 * y))

         solve
# -*- coding: utf-8 -*-
import sys
from collections import deque, defaultdict
from math import sqrt, factorial, gcd
# def input(): return sys.stdin.readline()[:-1] # warning not \n
# def input(): return sys.stdin.buffer.readline().strip() # warning bytes
# def input(): return sys.stdin.buffer.readline().decode('utf-8')


def solve():
    w, h, x, y = [int(x) for x in input().split()]
    print((w*h)/2, int(w == 2 * x and h == 2 * y))

        



t = 1
# t = int(input())
for case in range(1,t+1):
    ans = solve()


"""



"""
