import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

class Main
{
	public static void main (String[] args) throws ParseException {
	    String inputDateString = "1-1-2012";
            DateFormat dfFrom = new SimpleDateFormat("dd-MM-yyyy");
            Date inputDate = dfFrom.parse(inputDateString);

            DateFormat dfTo = new SimpleDateFormat("d MMMM yyyy");
            String outputDate = dfTo.format(inputDate);
            System.out.println(outputDate);
	}
}