public class test {
public static void main(String[] args) throws IOException {
new test().a();
}
public void a() {
Scanner input = new Scanner(System.in);
String choice = input.nextLine();
while(!choice.equals("")) {
System.out.println(choice);
if(choice.equals("1")) {
b();
}
choice = input.nextLine();
}
input.close();
}
public void b() {
Scanner s = new Scanner(System.in);
System.out.println(s.nextLine());
s.close();
}
}