// The "Landscape2" class.

//Oct 23 3:46PM
//By:XiaoXiong Weng
import java.awt.*;
import hsa.Console;
import java.io.BufferedInputStream;
import java.io.DataInputStream;
import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.FileNotFoundException;
import java.io.BufferedWriter;
import java.io.IOException;

public class Landscape2
{
    static Console c;

    public static void main (String [] args)
    {
	c = new Console ();
	int variablex = 0;
	FileInputStream Fin = null;
	FileOutputStream Fileout = null;
	BufferedWriter Fout =null;
	DataInputStream nofdots = null;
	while (((variablex > -1) && (variablex < 6)))
	{
	    try
	    {

		Fin = new FileInputStream ("DATA1.txt");
		Fileout = new FileOutputStream ("OUT1.txt");
		Fout = new BufferedWriter (new FileWriter (Fileout));
		int nofdots = 1;
		nofdots = 1 * (new DataInputStream (Fin).readLine (variablex));
		variablex = variablex++;
		int background = 17;
		while (background != 0)
		{
		    Fout.write (".");
		    background = background - 1;
		}
		if (background == 0)
		{
		    Fout.newLine ();
		}
	    fin.close();
	    fout.flush();
	    fout.close();
	    



	    }
	    catch (IOException e)
	    {
		system.exit (0);
	    }

	}
    }
}



