
// import java.awt.*;
import java.io.*;       //   NEW, for files
import java.util.*;

public class StringStuff
    {

       private boolean even(int n)
         { return (n%2 == 0); }

	   public boolean interesting(String s)
	     {
			 return even(s.length()) && s.startsWith(s.substring(s.length()/2));
	     }



       public static void main(String args[])
         {
		  StringStuff testObject = new StringStuff();
		  StringTokenizer st;

		  try
		    {
		  	  BufferedReader infile;
			  infile = new BufferedReader(
				           new InputStreamReader(
							   new FileInputStream("test.html")));
			  String line = infile.readLine();

			  while( line != null)
			  		{
					 st = new StringTokenizer(line);
			  		 while(st.hasMoreTokens())
			  		     {
							 String tempS = st.nextToken();
			  		    //     if(testObject.interesting(tempS))
			  		             System.out.println(tempS);
					  }
			  		 line = infile.readLine();
			  		}
			  infile.close();
			 }

 		   catch (Throwable anError)
 		     {
		    	 System.out.println("infile error>  " + anError); // display the error
		    }
	      }


    }