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

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

import java.time.* ;
import java.util.concurrent.ThreadLocalRandom ;

/* 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
	{
		String output = 
			LocalDate
				.now()                   // Better to specify explicitly your desired time zone. If omitted, the JVM’s current default time zone is implicitly applied. 
				.minusDays( 
				    ThreadLocalRandom
				    .current()
				    .nextLong( 0 , 27 )  // ( inclusive , exclusive ). So 0,27 for 0 through 26.
				)                        // Returns another `LocalDate` object. 
				.toString()   
		;
		
		System.out.println( "output = " + output ) ;
	}
}