import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
import java.util.Arrays;

public class Main {
	public static void main(final String[] args){
    
    final Scanner sc = new Scanner(System.in);
    //final List<Integer> list = new ArrayList<>();
    //final List<Long> list2 = new ArrayList<>();

    long w = sc.nextLong();
    long h = sc.nextLong();
    int x = sc.nextInt();
    int y = sc.nextInt();

    long ans = w * h;
    System.out.print((double)ans / 2);
    if(w == x * 2 && h == y * 2){
        System.out.print(" " + 1);
    }else{
        System.out.print(" " + 0);
    }



    



   
    





}
} import java.io.BufferedReader; BufferedReader java.io import java.io.*; io.* java import java.util.*; util.* java import java.util.ArrayList; ArrayList java.util import java.util.Iterator; Iterator java.util import java.util.List; List java.util import java.util.Collections; Collections java.util import java.util.Arrays; Arrays java.util public class Main {
	public static void main(final String[] args){
    
    final Scanner sc = new Scanner(System.in);
    //final List<Integer> list = new ArrayList<>();
    //final List<Long> list2 = new ArrayList<>();

    long w = sc.nextLong();
    long h = sc.nextLong();
    int x = sc.nextInt();
    int y = sc.nextInt();

    long ans = w * h;
    System.out.print((double)ans / 2);
    if(w == x * 2 && h == y * 2){
        System.out.print(" " + 1);
    }else{
        System.out.print(" " + 0);
    }



    



   
    





}
} Main public static void main(final String[] args){
    
    final Scanner sc = new Scanner(System.in);
    //final List<Integer> list = new ArrayList<>();
    //final List<Long> list2 = new ArrayList<>();

    long w = sc.nextLong();
    long h = sc.nextLong();
    int x = sc.nextInt();
    int y = sc.nextInt();

    long ans = w * h;
    System.out.print((double)ans / 2);
    if(w == x * 2 && h == y * 2){
        System.out.print(" " + 1);
    }else{
        System.out.print(" " + 0);
    }



    



   
    





} main {
    
    final Scanner sc = new Scanner(System.in);
    //final List<Integer> list = new ArrayList<>();
    //final List<Long> list2 = new ArrayList<>();

    long w = sc.nextLong();
    long h = sc.nextLong();
    int x = sc.nextInt();
    int y = sc.nextInt();

    long ans = w * h;
    System.out.print((double)ans / 2);
    if(w == x * 2 && h == y * 2){
        System.out.print(" " + 1);
    }else{
        System.out.print(" " + 0);
    }



    



   
    





} final Scanner sc = new Scanner(System.in); sc new Scanner(System.in) long w = sc.nextLong(); w sc.nextLong() sc.nextLong sc long h = sc.nextLong(); h sc.nextLong() sc.nextLong sc int x = sc.nextInt(); x sc.nextInt() sc.nextInt sc int y = sc.nextInt(); y sc.nextInt() sc.nextInt sc long ans = w * h; ans w * h w h System.out.print((double)ans / 2) System.out.print System.out System System.out (double)ans / 2 (double)ans 2 if(w == x * 2 && h == y * 2){
        System.out.print(" " + 1);
    }else{
        System.out.print(" " + 0);
    } w == x * 2 && h == y * 2 w == x * 2 w x * 2 x 2 h == y * 2 h y * 2 y 2 {
        System.out.print(" " + 1);
    } System.out.print(" " + 1) System.out.print System.out System System.out " " + 1 " " 1 {
        System.out.print(" " + 0);
    } System.out.print(" " + 0) System.out.print System.out System System.out " " + 0 " " 0 final String[] args args public class Main {
	public static void main(final String[] args){
    
    final Scanner sc = new Scanner(System.in);
    //final List<Integer> list = new ArrayList<>();
    //final List<Long> list2 = new ArrayList<>();

    long w = sc.nextLong();
    long h = sc.nextLong();
    int x = sc.nextInt();
    int y = sc.nextInt();

    long ans = w * h;
    System.out.print((double)ans / 2);
    if(w == x * 2 && h == y * 2){
        System.out.print(" " + 1);
    }else{
        System.out.print(" " + 0);
    }



    



   
    





}
} public class Main {
	public static void main(final String[] args){
    
    final Scanner sc = new Scanner(System.in);
    //final List<Integer> list = new ArrayList<>();
    //final List<Long> list2 = new ArrayList<>();

    long w = sc.nextLong();
    long h = sc.nextLong();
    int x = sc.nextInt();
    int y = sc.nextInt();

    long ans = w * h;
    System.out.print((double)ans / 2);
    if(w == x * 2 && h == y * 2){
        System.out.print(" " + 1);
    }else{
        System.out.print(" " + 0);
    }



    



   
    





}
} Main
import java.io.BufferedReader;
import java.io.*;
import java.util.*;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.Collections;
import java.util.Arrays;

public class Main {
	public static void main(final String[] args){
    
    final Scanner sc = new Scanner(System.in);
    //final List<Integer> list = new ArrayList<>();
    //final List<Long> list2 = new ArrayList<>();

    long w = sc.nextLong();
    long h = sc.nextLong();
    int x = sc.nextInt();
    int y = sc.nextInt();

    long ans = w * h;
    System.out.print((double)ans / 2);
    if(w == x * 2 && h == y * 2){
        System.out.print(" " + 1);
    }else{
        System.out.print(" " + 0);
    }



    



   
    





}
}