import java.util.*;
import java.io.*;
public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		long a = Integer.parseInt(st.nextToken());
		long b = Integer.parseInt(st.nextToken());
		long c = Integer.parseInt(st.nextToken());
		long d = Integer.parseInt(st.nextToken());
		System.out.println(a*b*1.0/2+" "+(c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0));
	}

} import java.util.*; util.* java import java.io.*; io.* java public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		long a = Integer.parseInt(st.nextToken());
		long b = Integer.parseInt(st.nextToken());
		long c = Integer.parseInt(st.nextToken());
		long d = Integer.parseInt(st.nextToken());
		System.out.println(a*b*1.0/2+" "+(c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0));
	}

} Main public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		long a = Integer.parseInt(st.nextToken());
		long b = Integer.parseInt(st.nextToken());
		long c = Integer.parseInt(st.nextToken());
		long d = Integer.parseInt(st.nextToken());
		System.out.println(a*b*1.0/2+" "+(c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0));
	} main {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		long a = Integer.parseInt(st.nextToken());
		long b = Integer.parseInt(st.nextToken());
		long c = Integer.parseInt(st.nextToken());
		long d = Integer.parseInt(st.nextToken());
		System.out.println(a*b*1.0/2+" "+(c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0));
	} BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); br new BufferedReader(new InputStreamReader(System.in)) StringTokenizer st = new StringTokenizer(br.readLine()); st new StringTokenizer(br.readLine()) long a = Integer.parseInt(st.nextToken()); a Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st long b = Integer.parseInt(st.nextToken()); b Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st long c = Integer.parseInt(st.nextToken()); c Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st long d = Integer.parseInt(st.nextToken()); d Integer.parseInt(st.nextToken()) Integer.parseInt Integer st.nextToken() st.nextToken st System.out.println(a*b*1.0/2+" "+(c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0)) System.out.println System.out System System.out a*b*1.0/2+" "+(c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0) a*b*1.0/2+" "+(c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0) a*b*1.0/2 a*b*1.0 a*b*1.0 a b 1.0 2 " " (c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0) c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2 c*1.0 == a*1.0/2 c*1.0 c 1.0 a*1.0/2 a*1.0 a 1.0 2 d*1.0 == b*1.0/2 d*1.0 d 1.0 b*1.0/2 b*1.0 b 1.0 2 1 0 String[] args args public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		long a = Integer.parseInt(st.nextToken());
		long b = Integer.parseInt(st.nextToken());
		long c = Integer.parseInt(st.nextToken());
		long d = Integer.parseInt(st.nextToken());
		System.out.println(a*b*1.0/2+" "+(c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0));
	}

} public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		long a = Integer.parseInt(st.nextToken());
		long b = Integer.parseInt(st.nextToken());
		long c = Integer.parseInt(st.nextToken());
		long d = Integer.parseInt(st.nextToken());
		System.out.println(a*b*1.0/2+" "+(c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0));
	}

} Main
import java.util.*;
import java.io.*;
public class Main {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer(br.readLine());
		long a = Integer.parseInt(st.nextToken());
		long b = Integer.parseInt(st.nextToken());
		long c = Integer.parseInt(st.nextToken());
		long d = Integer.parseInt(st.nextToken());
		System.out.println(a*b*1.0/2+" "+(c*1.0 == a*1.0/2 && d*1.0 == b*1.0/2? 1:0));
	}

}
