public String inputString() {
InputStreamReader in = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(in);
String inputStr = null;
try {
inputStr = br.readLine();
} catch (IOException e) {
// TODO 自动生成 catch 块
e.printStackTrace();
}
return inputStr;
}
public int inputStr() {
InputStreamReader in = new InputStreamReader(System.in);
BufferedReader br = new BufferedReader(in);
String str = null;
try {
str = br.readLine();
int n = Integer.parseInt(str);
if (n > 0 && n < 6) {
return n;
} else {
return 0;
}
} catch (NumberFormatException e) {
// TODO 自动生成 catch 块
e.printStackTrace();
} catch (IOException e) {
// TODO 自动生成 catch 块
e.printStackTrace();
}
return 0;
}