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

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

import java.time.* ;

/* 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
	{
		List < LocalDate > dates = new ArrayList<>( 4 ) ;
		dates.add( LocalDate.of( 2022 , Month.JANUARY, 11 ) ) ;
		dates.add( LocalDate.of( 2022 , Month.JANUARY, 12 ) ) ;
		dates.add( LocalDate.of( 2022 , Month.JANUARY, 13 ) ) ;
		dates.add( LocalDate.of( 2022 , Month.JANUARY, 14 ) ) ;
		
		String[] results = 
		    dates
		    .stream()
		    .filter( localDate -> localDate.getDayOfMonth() > 12 )
		    .map( LocalDate :: toString )
		    .toArray( String[] :: new ) ;
		
		System.out.println( "results = " + String.join( ", " , results ) ) ;
	}
}