	import java.util.ArrayList;
	import java.util.Arrays;
	import java.util.Collections;
	import java.util.Comparator;
	import java.util.HashMap;
	import java.util.HashSet;
	import java.util.List;
	import java.util.Map;
	import java.util.Map.Entry;
	import java.util.PriorityQueue;
	import java.util.Queue;
	import java.util.Scanner;
	import java.util.Set;

	public class Main{

		public static void main(String[] args) {

			Scanner scanner = new Scanner(System.in);
			String[] t = scanner.nextLine().split(" ");
			long w = Long.parseLong(t[0]);
			long h = Long.parseLong(t[1]);
			double m = w * h / 2.0;
			long x = Long.parseLong(t[2]);
			long y = Long.parseLong(t[3]);

			int ans = w == x * 2 && h == y * 2 ? 1 : 0;

			System.out.println(m + " " + ans);
		}
	} import java.util.ArrayList; ArrayList java.util import java.util.Arrays; Arrays java.util import java.util.Collections; Collections java.util import java.util.Comparator; Comparator java.util import java.util.HashMap; HashMap java.util import java.util.HashSet; HashSet java.util import java.util.List; List java.util import java.util.Map; Map java.util import java.util.Map.Entry; Entry java.util.Map import java.util.PriorityQueue; PriorityQueue java.util import java.util.Queue; Queue java.util import java.util.Scanner; Scanner java.util import java.util.Set; Set java.util public class Main{

		public static void main(String[] args) {

			Scanner scanner = new Scanner(System.in);
			String[] t = scanner.nextLine().split(" ");
			long w = Long.parseLong(t[0]);
			long h = Long.parseLong(t[1]);
			double m = w * h / 2.0;
			long x = Long.parseLong(t[2]);
			long y = Long.parseLong(t[3]);

			int ans = w == x * 2 && h == y * 2 ? 1 : 0;

			System.out.println(m + " " + ans);
		}
	} Main public static void main(String[] args) {

			Scanner scanner = new Scanner(System.in);
			String[] t = scanner.nextLine().split(" ");
			long w = Long.parseLong(t[0]);
			long h = Long.parseLong(t[1]);
			double m = w * h / 2.0;
			long x = Long.parseLong(t[2]);
			long y = Long.parseLong(t[3]);

			int ans = w == x * 2 && h == y * 2 ? 1 : 0;

			System.out.println(m + " " + ans);
		} main {

			Scanner scanner = new Scanner(System.in);
			String[] t = scanner.nextLine().split(" ");
			long w = Long.parseLong(t[0]);
			long h = Long.parseLong(t[1]);
			double m = w * h / 2.0;
			long x = Long.parseLong(t[2]);
			long y = Long.parseLong(t[3]);

			int ans = w == x * 2 && h == y * 2 ? 1 : 0;

			System.out.println(m + " " + ans);
		} Scanner scanner = new Scanner(System.in); scanner new Scanner(System.in) String[] t = scanner.nextLine().split(" "); t scanner.nextLine().split(" ") scanner.nextLine().split scanner.nextLine() scanner.nextLine scanner " " long w = Long.parseLong(t[0]); w Long.parseLong(t[0]) Long.parseLong Long t[0] t 0 long h = Long.parseLong(t[1]); h Long.parseLong(t[1]) Long.parseLong Long t[1] t 1 double m = w * h / 2.0; m w * h / 2.0 w * h w h 2.0 long x = Long.parseLong(t[2]); x Long.parseLong(t[2]) Long.parseLong Long t[2] t 2 long y = Long.parseLong(t[3]); y Long.parseLong(t[3]) Long.parseLong Long t[3] t 3 int ans = w == x * 2 && h == y * 2 ? 1 : 0; ans w == x * 2 && h == y * 2 ? 1 : 0 w == x * 2 && h == y * 2 w == x * 2 w x * 2 x 2 h == y * 2 h y * 2 y 2 1 0 System.out.println(m + " " + ans) System.out.println System.out System System.out m + " " + ans m + " " + ans m " " ans String[] args args public class Main{

		public static void main(String[] args) {

			Scanner scanner = new Scanner(System.in);
			String[] t = scanner.nextLine().split(" ");
			long w = Long.parseLong(t[0]);
			long h = Long.parseLong(t[1]);
			double m = w * h / 2.0;
			long x = Long.parseLong(t[2]);
			long y = Long.parseLong(t[3]);

			int ans = w == x * 2 && h == y * 2 ? 1 : 0;

			System.out.println(m + " " + ans);
		}
	} public class Main{

		public static void main(String[] args) {

			Scanner scanner = new Scanner(System.in);
			String[] t = scanner.nextLine().split(" ");
			long w = Long.parseLong(t[0]);
			long h = Long.parseLong(t[1]);
			double m = w * h / 2.0;
			long x = Long.parseLong(t[2]);
			long y = Long.parseLong(t[3]);

			int ans = w == x * 2 && h == y * 2 ? 1 : 0;

			System.out.println(m + " " + ans);
		}
	} Main
	import java.util.ArrayList;
	import java.util.Arrays;
	import java.util.Collections;
	import java.util.Comparator;
	import java.util.HashMap;
	import java.util.HashSet;
	import java.util.List;
	import java.util.Map;
	import java.util.Map.Entry;
	import java.util.PriorityQueue;
	import java.util.Queue;
	import java.util.Scanner;
	import java.util.Set;

	public class Main{

		public static void main(String[] args) {

			Scanner scanner = new Scanner(System.in);
			String[] t = scanner.nextLine().split(" ");
			long w = Long.parseLong(t[0]);
			long h = Long.parseLong(t[1]);
			double m = w * h / 2.0;
			long x = Long.parseLong(t[2]);
			long y = Long.parseLong(t[3]);

			int ans = w == x * 2 && h == y * 2 ? 1 : 0;

			System.out.println(m + " " + ans);
		}
	}