import math
from math import gcd
INF = float("inf")

import sys
input=sys.stdin.readline
import itertools
from collections import Counter

def main():
    w,h,x,y = map(int, input().split())
    s = (w*h)/2
    if x*2 == w and y*2 == h:
        k = 1
    else:
        k = 0
    print(s,k)



if __name__=="__main__":
    main() import math math from math import gcd INF = float("inf") INF float("inf") float "inf" import sys sys input=sys.stdin.readline input sys.stdin.readline sys.stdin sys stdin readline import itertools itertools from collections import Counter def main():
    w,h,x,y = map(int, input().split())
    s = (w*h)/2
    if x*2 == w and y*2 == h:
        k = 1
    else:
        k = 0
    print(s,k) main w,h,x,y = map(int, input().split()) w map(int, input().split()) map int input().split() ().split () input split h x y s = (w*h)/2 s (w*h)/2 w*h w h 2 if x*2 == w and y*2 == h:
        k = 1
    else:
        k = 0
     x*2 == w and y*2 == h x*2 == w x*2 x 2 w y*2 == h y*2 y 2 h k = 1 k 1 k = 0 k 0 print(s,k) print s k if __name__=="__main__":
    main() __name__=="__main__" __name__ "__main__" main() main INF = float("inf") float("inf") INF input=sys.stdin.readline sys.stdin.readline input def main():
    w,h,x,y = map(int, input().split())
    s = (w*h)/2
    if x*2 == w and y*2 == h:
        k = 1
    else:
        k = 0
    print(s,k) def main():
    w,h,x,y = map(int, input().split())
    s = (w*h)/2
    if x*2 == w and y*2 == h:
        k = 1
    else:
        k = 0
    print(s,k) main
import math
from math import gcd
INF = float("inf")

import sys
input=sys.stdin.readline
import itertools
from collections import Counter

def main():
    w,h,x,y = map(int, input().split())
    s = (w*h)/2
    if x*2 == w and y*2 == h:
        k = 1
    else:
        k = 0
    print(s,k)



if __name__=="__main__":
    main()
