import java.awt.*;
import java.io.*;

public class Problem5
{

    public static void main (String[] args) throws IOException
    {

	BufferedReader input = new BufferedReader (new FileReader ("DATA5.txt"));
	PrintWriter output = new PrintWriter (new FileWriter ("OUT5.txt"));

	String line[] = new String [5];
	for (int d = 0 ; d < 5 ; d++)
	    line [d] = input.readLine ();

	for (int e = 0 ; e < 5 ; e++)
	    output.println ((int) (Math.random () * 20) + 1);
	output.close ();
    } // main method
} // Problem5 class

