#!/usr/bin/env python
# coding: utf-8

# In[5]:


W,H,x,y = map(int, input().split())


# In[7]:


s = W*H/2
if x == W/2 and y == H/2:
    p = 1
else:
    p = 0
print(s,p)


# In[ ]:



 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 == W/2 and y == H/2:
    p = 1
else:
    p = 0 x == W/2 and y == H/2 x == W/2 x W/2 W 2 y == H/2 y H/2 H 2 p = 1 p 1 p = 0 p 0 print(s,p) print s p p = 0 0 p s = W*H/2 W*H/2 s W,H,x,y = map(int, input().split()) map(int, input().split()) W H,x,y = map(int, input().split()) map(int, input().split()) H x,y = map(int, input().split()) map(int, input().split()) x p = 1 1 p y = map(int, input().split()) map(int, input().split()) y
#!/usr/bin/env python
# coding: utf-8

# In[5]:


W,H,x,y = map(int, input().split())


# In[7]:


s = W*H/2
if x == W/2 and y == H/2:
    p = 1
else:
    p = 0
print(s,p)


# In[ ]:




