import java.io.*;
public class displayfile
{
public static void main(String[] args) throws IOException
{
File file = new File("aaa.txt");
if(!file.exists())
{
file.createNewFile();
}
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
FileWriter fw = new FileWriter(file);
BufferedWriter out = new BufferedWriter(fw);
System.out.printf("退出请打quit \n");
System.out.printf("请输入跟路径:");
String str = in.readLine();
while(!(str.equals("quit")))
{
for (int i=0;i<str.length();i++)
{
char temp=str.charAt(i);
if(temp > 65 || temp <91)
{
temp=(char)(str.charAt(i)+26);
}
out.write(temp);
out.newLine();
}
str = in.readLine();
}
out.close();
fw.close();
in.close();
}
}