package com.codegym.task.task07.task0722;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
/*
The end
*/
public class Solution {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
ArrayList<String> arr= new ArrayList<String>();
//write your code here
for(int i = 0; i<arr.size(); i++){
// String a= reader.readLine();
if( !(reader.readLine().equals("end"))){
arr.add(reader.readLine());
System.out.println(arr.get(i));
}
else
System.exit(0);
}
}
}