/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

import java.time.*;
import java.time.format.DateTimeFormatter;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static void main (String[] args) throws java.lang.Exception
	{

    System.out.println( System.getProperty( "java.version" ) );
    System.out.println( Locale.getDefault().toString() );

    LocalDate ld = LocalDate.of( 2018 , Month.AUGUST , 30 );

    Locale locale = Locale.US;
    DateTimeFormatter f = DateTimeFormatter.ofPattern( "E d MMM yyyy" , locale );
    String output = ld.format( f );

    System.out.println( output );
    
	}
}