// editor1 
import java.util.*;
public class main
{
    public static void main(String [] args)
    {
        Scanner S=new Scanner(System.in);
        int n=S.nextInt();
        Queue<Integer> queue= new LinkedList<>();
        for(int i=0; i<n; i++)
        {
            queue.add(S.nextInt());
        }
        for(int x : queue)
        {
            System.out.println(x + " ");
            
        }
    }
}