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

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

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

/* 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
	{
        LocalDateTime ldt = LocalDateTime.of( 2021 , 9 , 23 , 13 , 30 , 57 , 0 ) ;
        DateTimeFormatter f = DateTimeFormatter.ofLocalizedDateTime( FormatStyle.MEDIUM ).withLocale( Locale.FRANCE ) ;
        String text = ldt.format( f ) ;
        System.out.println( text ) ;

        LocalDateTime ldt2 = LocalDateTime.parse( text , f ) ;
        System.out.println( ldt2 ) ;
	}
}