import java.util.*;
class Main {
	public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      int w = Integer.parseInt(sc.next());
      int h = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      
      double half = (double)w*h / 2; 
      
      double centerX = (double)w / 2;
      double centerY = (double)h / 2;
      
      
      
      if (x == centerX && y == centerY) {
        System.out.print(half);
        System.out.print(' ');
        System.out.print(1);
      } else {
        System.out.println(half);
        System.out.print(' ');
        System.out.print(0);
      }
    }
      
} import java.util.*; util.* java class Main {
	public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      int w = Integer.parseInt(sc.next());
      int h = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      
      double half = (double)w*h / 2; 
      
      double centerX = (double)w / 2;
      double centerY = (double)h / 2;
      
      
      
      if (x == centerX && y == centerY) {
        System.out.print(half);
        System.out.print(' ');
        System.out.print(1);
      } else {
        System.out.println(half);
        System.out.print(' ');
        System.out.print(0);
      }
    }
      
} Main public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      int w = Integer.parseInt(sc.next());
      int h = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      
      double half = (double)w*h / 2; 
      
      double centerX = (double)w / 2;
      double centerY = (double)h / 2;
      
      
      
      if (x == centerX && y == centerY) {
        System.out.print(half);
        System.out.print(' ');
        System.out.print(1);
      } else {
        System.out.println(half);
        System.out.print(' ');
        System.out.print(0);
      }
    } main {
      Scanner sc = new Scanner(System.in);
      int w = Integer.parseInt(sc.next());
      int h = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      
      double half = (double)w*h / 2; 
      
      double centerX = (double)w / 2;
      double centerY = (double)h / 2;
      
      
      
      if (x == centerX && y == centerY) {
        System.out.print(half);
        System.out.print(' ');
        System.out.print(1);
      } else {
        System.out.println(half);
        System.out.print(' ');
        System.out.print(0);
      }
    } Scanner sc = new Scanner(System.in); sc new Scanner(System.in) int w = Integer.parseInt(sc.next()); w Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int h = Integer.parseInt(sc.next()); h Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int x = Integer.parseInt(sc.next()); x Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc int y = Integer.parseInt(sc.next()); y Integer.parseInt(sc.next()) Integer.parseInt Integer sc.next() sc.next sc double half = (double)w*h / 2; half (double)w*h / 2 (double)w*h (double)w h 2 double centerX = (double)w / 2; centerX (double)w / 2 (double)w 2 double centerY = (double)h / 2; centerY (double)h / 2 (double)h 2 if (x == centerX && y == centerY) {
        System.out.print(half);
        System.out.print(' ');
        System.out.print(1);
      } else {
        System.out.println(half);
        System.out.print(' ');
        System.out.print(0);
      } x == centerX && y == centerY x == centerX x centerX y == centerY y centerY {
        System.out.print(half);
        System.out.print(' ');
        System.out.print(1);
      } System.out.print(half) System.out.print System.out System System.out half System.out.print(' ') System.out.print System.out System System.out ' ' System.out.print(1) System.out.print System.out System System.out 1 {
        System.out.println(half);
        System.out.print(' ');
        System.out.print(0);
      } System.out.println(half) System.out.println System.out System System.out half System.out.print(' ') System.out.print System.out System System.out ' ' System.out.print(0) System.out.print System.out System System.out 0 String[] args args
import java.util.*;
class Main {
	public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      int w = Integer.parseInt(sc.next());
      int h = Integer.parseInt(sc.next());
      int x = Integer.parseInt(sc.next());
      int y = Integer.parseInt(sc.next());
      
      double half = (double)w*h / 2; 
      
      double centerX = (double)w / 2;
      double centerY = (double)h / 2;
      
      
      
      if (x == centerX && y == centerY) {
        System.out.print(half);
        System.out.print(' ');
        System.out.print(1);
      } else {
        System.out.println(half);
        System.out.print(' ');
        System.out.print(0);
      }
    }
      
}