public class testMethods
{
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
ArrayList<Integer> list = new ArrayList<Integer>();
for (int i = 0; i < 5; i++)
{
list.add(0, Integer.parseInt(reader.readLine()));
}
for (int n : list){
System.out.println(n);
}
}
}