import os
import sys
from collections import defaultdict, Counter
from itertools import product, permutations,combinations, accumulate
from operator import itemgetter
from bisect import bisect_left,bisect
from heapq import heappop,heappush
from fractions import gcd
from math import ceil, floor, sqrt
from copy import deepcopy

def main():
    w,h,x,y = map(int, input().split())
    print(w*h/2, int(w/2 == x and h/2 == y))
    

if __name__ == "__main__":
    main() import os os import sys sys from collections import defaultdict, Counter from itertools import product, permutations,combinations, accumulate from operator import itemgetter from bisect import bisect_left,bisect from heapq import heappop,heappush from fractions import gcd from math import ceil, floor, sqrt from copy import deepcopy def main():
    w,h,x,y = map(int, input().split())
    print(w*h/2, int(w/2 == x and h/2 == y))
     main w,h,x,y = map(int, input().split()) w map(int, input().split()) map int input().split() ().split () 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 w 2 x h/2 == y h/2 h 2 y if __name__ == "__main__":
    main() __name__ == "__main__" __name__ "__main__" main() main def main():
    w,h,x,y = map(int, input().split())
    print(w*h/2, int(w/2 == x and h/2 == y))
     def main():
    w,h,x,y = map(int, input().split())
    print(w*h/2, int(w/2 == x and h/2 == y))
     main
import os
import sys
from collections import defaultdict, Counter
from itertools import product, permutations,combinations, accumulate
from operator import itemgetter
from bisect import bisect_left,bisect
from heapq import heappop,heappush
from fractions import gcd
from math import ceil, floor, sqrt
from copy import deepcopy

def main():
    w,h,x,y = map(int, input().split())
    print(w*h/2, int(w/2 == x and h/2 == y))
    

if __name__ == "__main__":
    main()