import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();
        
        int same = (w / 2.0 == x && h / 2.0 == y) ? 1 : 0;
        double square = w * h / 2.0;
        System.out.println(String.format("%s %d", square, same));
    }
} import java.util.Scanner; Scanner java.util public class Main {
    public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();
        
        int same = (w / 2.0 == x && h / 2.0 == y) ? 1 : 0;
        double square = w * h / 2.0;
        System.out.println(String.format("%s %d", square, same));
    }
} Main public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();
        
        int same = (w / 2.0 == x && h / 2.0 == y) ? 1 : 0;
        double square = w * h / 2.0;
        System.out.println(String.format("%s %d", square, same));
    } main {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();
        
        int same = (w / 2.0 == x && h / 2.0 == y) ? 1 : 0;
        double square = w * h / 2.0;
        System.out.println(String.format("%s %d", square, same));
    } Scanner std = new Scanner(System.in); std new Scanner(System.in) long w = std.nextLong(); w std.nextLong() std.nextLong std long h = std.nextLong(); h std.nextLong() std.nextLong std long x = std.nextLong(); x std.nextLong() std.nextLong std long y = std.nextLong(); y std.nextLong() std.nextLong std int same = (w / 2.0 == x && h / 2.0 == y) ? 1 : 0; same (w / 2.0 == x && h / 2.0 == y) ? 1 : 0 (w / 2.0 == x && h / 2.0 == y) w / 2.0 == x w / 2.0 w 2.0 x h / 2.0 == y h / 2.0 h 2.0 y 1 0 double square = w * h / 2.0; square w * h / 2.0 w * h w h 2.0 System.out.println(String.format("%s %d", square, same)) System.out.println System.out System System.out String.format("%s %d", square, same) String.format String "%s %d" square same String[] args args public class Main {
    public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();
        
        int same = (w / 2.0 == x && h / 2.0 == y) ? 1 : 0;
        double square = w * h / 2.0;
        System.out.println(String.format("%s %d", square, same));
    }
} public class Main {
    public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();
        
        int same = (w / 2.0 == x && h / 2.0 == y) ? 1 : 0;
        double square = w * h / 2.0;
        System.out.println(String.format("%s %d", square, same));
    }
} Main
import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner std = new Scanner(System.in);
        long w = std.nextLong();
        long h = std.nextLong();
        long x = std.nextLong();
        long y = std.nextLong();
        
        int same = (w / 2.0 == x && h / 2.0 == y) ? 1 : 0;
        double square = w * h / 2.0;
        System.out.println(String.format("%s %d", square, same));
    }
}