import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.PrintWriter;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) throws Exception {
        try (BufferedInputStream in = new BufferedInputStream(System.in);
             PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out))) {

            Scanner sc = new Scanner(in);

            // 12:37-

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

            out.println(w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
        }
    }
} import java.io.BufferedInputStream; BufferedInputStream java.io import java.io.BufferedOutputStream; BufferedOutputStream java.io import java.io.PrintWriter; PrintWriter java.io import java.util.Scanner; Scanner java.util public class Main {

    public static void main(String[] args) throws Exception {
        try (BufferedInputStream in = new BufferedInputStream(System.in);
             PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out))) {

            Scanner sc = new Scanner(in);

            // 12:37-

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

            out.println(w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
        }
    }
} Main public static void main(String[] args) throws Exception {
        try (BufferedInputStream in = new BufferedInputStream(System.in);
             PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out))) {

            Scanner sc = new Scanner(in);

            // 12:37-

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

            out.println(w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
        }
    } main {
        try (BufferedInputStream in = new BufferedInputStream(System.in);
             PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out))) {

            Scanner sc = new Scanner(in);

            // 12:37-

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

            out.println(w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
        }
    } try (BufferedInputStream in = new BufferedInputStream(System.in);
             PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out))) {

            Scanner sc = new Scanner(in);

            // 12:37-

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

            out.println(w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
        } {

            Scanner sc = new Scanner(in);

            // 12:37-

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

            out.println(w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
        } BufferedInputStream in = new BufferedInputStream(System.in) BufferedInputStream in = new BufferedInputStream(System.in) new BufferedInputStream(System.in) PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out)) PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out)) new PrintWriter(new BufferedOutputStream(System.out)) Scanner sc = new Scanner(in); sc new Scanner(in) long w = sc.nextLong(); w sc.nextLong() sc.nextLong sc long h = sc.nextLong(); h sc.nextLong() sc.nextLong sc long x = sc.nextLong(); x sc.nextLong() sc.nextLong sc long y = sc.nextLong(); y sc.nextLong() sc.nextLong sc out.println(w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0)) out.println out w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0) w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0) w * h / 2.0 w * h w h 2.0 " " (x * 2 == w && y * 2 == h ? 1 : 0) x * 2 == w && y * 2 == h x * 2 == w x * 2 x 2 w y * 2 == h y * 2 y 2 h 1 0 String[] args args public class Main {

    public static void main(String[] args) throws Exception {
        try (BufferedInputStream in = new BufferedInputStream(System.in);
             PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out))) {

            Scanner sc = new Scanner(in);

            // 12:37-

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

            out.println(w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
        }
    }
} public class Main {

    public static void main(String[] args) throws Exception {
        try (BufferedInputStream in = new BufferedInputStream(System.in);
             PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out))) {

            Scanner sc = new Scanner(in);

            // 12:37-

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

            out.println(w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
        }
    }
} Main
import java.io.BufferedInputStream;
import java.io.BufferedOutputStream;
import java.io.PrintWriter;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) throws Exception {
        try (BufferedInputStream in = new BufferedInputStream(System.in);
             PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out))) {

            Scanner sc = new Scanner(in);

            // 12:37-

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

            out.println(w * h / 2.0 + " " + (x * 2 == w && y * 2 == h ? 1 : 0));
        }
    }
}
