import java.io.*;
public class T {
public static void main(String[] args) {
int ch;
try {
FileReader in = new FileReader(args[0]);
FileWriter to = new FileWriter(new File("nice.txt"));
BufferedReader br =new BufferedReader(in);
do{
String str2 = br.readLine();
if(str2.getBytes().length != str2.length()) {
System.out.println();
} else {
System.out.println(str2);
to.write(str2+"\r\n");
}
Thread.sleep(1000);
}while(br.readLine()!=null);
in.close();
br.close();
to.close();
}catch(Exception e) {
e.getMessage();
}
}
}