import java.io.*;
public class Main
{
    public static void main(String[] argv)
    {
        int W=0,H=0,x=0,y=0;
        try
        {
            BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
            String[] d=bf.readLine().split(" ");
            W=Integer.parseInt(d[0]);
            H=Integer.parseInt(d[1]);
            x=Integer.parseInt(d[2]);
            y=Integer.parseInt(d[3]);
        }
        catch (IOException e)
        {
            System.out.println(e);
            System.exit(0);
        }
            
            System.out.printf("%f",(double)W*H/2);
            if(2*x==W && 2*y==H)
            {
                System.out.println(" 1");
            }
            else
            {
                System.out.println(" 0");
            }
        
    }
} import java.io.*; io.* java public class Main
{
    public static void main(String[] argv)
    {
        int W=0,H=0,x=0,y=0;
        try
        {
            BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
            String[] d=bf.readLine().split(" ");
            W=Integer.parseInt(d[0]);
            H=Integer.parseInt(d[1]);
            x=Integer.parseInt(d[2]);
            y=Integer.parseInt(d[3]);
        }
        catch (IOException e)
        {
            System.out.println(e);
            System.exit(0);
        }
            
            System.out.printf("%f",(double)W*H/2);
            if(2*x==W && 2*y==H)
            {
                System.out.println(" 1");
            }
            else
            {
                System.out.println(" 0");
            }
        
    }
} Main public static void main(String[] argv)
    {
        int W=0,H=0,x=0,y=0;
        try
        {
            BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
            String[] d=bf.readLine().split(" ");
            W=Integer.parseInt(d[0]);
            H=Integer.parseInt(d[1]);
            x=Integer.parseInt(d[2]);
            y=Integer.parseInt(d[3]);
        }
        catch (IOException e)
        {
            System.out.println(e);
            System.exit(0);
        }
            
            System.out.printf("%f",(double)W*H/2);
            if(2*x==W && 2*y==H)
            {
                System.out.println(" 1");
            }
            else
            {
                System.out.println(" 0");
            }
        
    } main {
        int W=0,H=0,x=0,y=0;
        try
        {
            BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
            String[] d=bf.readLine().split(" ");
            W=Integer.parseInt(d[0]);
            H=Integer.parseInt(d[1]);
            x=Integer.parseInt(d[2]);
            y=Integer.parseInt(d[3]);
        }
        catch (IOException e)
        {
            System.out.println(e);
            System.exit(0);
        }
            
            System.out.printf("%f",(double)W*H/2);
            if(2*x==W && 2*y==H)
            {
                System.out.println(" 1");
            }
            else
            {
                System.out.println(" 0");
            }
        
    } int W=0 W 0 H=0 H 0 x=0 x 0 y=0; y 0 try
        {
            BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
            String[] d=bf.readLine().split(" ");
            W=Integer.parseInt(d[0]);
            H=Integer.parseInt(d[1]);
            x=Integer.parseInt(d[2]);
            y=Integer.parseInt(d[3]);
        }
        catch (IOException e)
        {
            System.out.println(e);
            System.exit(0);
        } catch (IOException e)
        {
            System.out.println(e);
            System.exit(0);
        } IOException e {
            System.out.println(e);
            System.exit(0);
        } System.out.println(e) System.out.println System.out System System.out e System.exit(0) System.exit System 0 {
            BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
            String[] d=bf.readLine().split(" ");
            W=Integer.parseInt(d[0]);
            H=Integer.parseInt(d[1]);
            x=Integer.parseInt(d[2]);
            y=Integer.parseInt(d[3]);
        } BufferedReader bf=new BufferedReader(new InputStreamReader(System.in)); bf new BufferedReader(new InputStreamReader(System.in)) String[] d=bf.readLine().split(" "); d bf.readLine().split(" ") bf.readLine().split bf.readLine() bf.readLine bf " " W=Integer.parseInt(d[0]) W Integer.parseInt(d[0]) Integer.parseInt Integer d[0] d 0 H=Integer.parseInt(d[1]) H Integer.parseInt(d[1]) Integer.parseInt Integer d[1] d 1 x=Integer.parseInt(d[2]) x Integer.parseInt(d[2]) Integer.parseInt Integer d[2] d 2 y=Integer.parseInt(d[3]) y Integer.parseInt(d[3]) Integer.parseInt Integer d[3] d 3 System.out.printf("%f",(double)W*H/2) System.out.printf System.out System System.out "%f" (double)W*H/2 (double)W*H (double)W H 2 if(2*x==W && 2*y==H)
            {
                System.out.println(" 1");
            }
            else
            {
                System.out.println(" 0");
            } 2*x==W && 2*y==H 2*x==W 2*x 2 x W 2*y==H 2*y 2 y H {
                System.out.println(" 1");
            } System.out.println(" 1") System.out.println System.out System System.out " 1" {
                System.out.println(" 0");
            } System.out.println(" 0") System.out.println System.out System System.out " 0" String[] argv argv public class Main
{
    public static void main(String[] argv)
    {
        int W=0,H=0,x=0,y=0;
        try
        {
            BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
            String[] d=bf.readLine().split(" ");
            W=Integer.parseInt(d[0]);
            H=Integer.parseInt(d[1]);
            x=Integer.parseInt(d[2]);
            y=Integer.parseInt(d[3]);
        }
        catch (IOException e)
        {
            System.out.println(e);
            System.exit(0);
        }
            
            System.out.printf("%f",(double)W*H/2);
            if(2*x==W && 2*y==H)
            {
                System.out.println(" 1");
            }
            else
            {
                System.out.println(" 0");
            }
        
    }
} public class Main
{
    public static void main(String[] argv)
    {
        int W=0,H=0,x=0,y=0;
        try
        {
            BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
            String[] d=bf.readLine().split(" ");
            W=Integer.parseInt(d[0]);
            H=Integer.parseInt(d[1]);
            x=Integer.parseInt(d[2]);
            y=Integer.parseInt(d[3]);
        }
        catch (IOException e)
        {
            System.out.println(e);
            System.exit(0);
        }
            
            System.out.printf("%f",(double)W*H/2);
            if(2*x==W && 2*y==H)
            {
                System.out.println(" 1");
            }
            else
            {
                System.out.println(" 0");
            }
        
    }
} Main
import java.io.*;
public class Main
{
    public static void main(String[] argv)
    {
        int W=0,H=0,x=0,y=0;
        try
        {
            BufferedReader bf=new BufferedReader(new InputStreamReader(System.in));
            String[] d=bf.readLine().split(" ");
            W=Integer.parseInt(d[0]);
            H=Integer.parseInt(d[1]);
            x=Integer.parseInt(d[2]);
            y=Integer.parseInt(d[3]);
        }
        catch (IOException e)
        {
            System.out.println(e);
            System.exit(0);
        }
            
            System.out.printf("%f",(double)W*H/2);
            if(2*x==W && 2*y==H)
            {
                System.out.println(" 1");
            }
            else
            {
                System.out.println(" 0");
            }
        
    }
}
